Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(687)

Side by Side Diff: include/utils/SkNWayCanvas.h

Issue 19723012: Add SkNWayCanvas comment API overrides. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/utils/SkNWayCanvas.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef SkNWayCanvas_DEFINED 9 #ifndef SkNWayCanvas_DEFINED
10 #define SkNWayCanvas_DEFINED 10 #define SkNWayCanvas_DEFINED
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 virtual void drawPicture(SkPicture&) SK_OVERRIDE; 67 virtual void drawPicture(SkPicture&) SK_OVERRIDE;
68 virtual void drawVertices(VertexMode vmode, int vertexCount, 68 virtual void drawVertices(VertexMode vmode, int vertexCount,
69 const SkPoint vertices[], const SkPoint texs[], 69 const SkPoint vertices[], const SkPoint texs[],
70 const SkColor colors[], SkXfermode* xmode, 70 const SkColor colors[], SkXfermode* xmode,
71 const uint16_t indices[], int indexCount, 71 const uint16_t indices[], int indexCount,
72 const SkPaint&) SK_OVERRIDE; 72 const SkPaint&) SK_OVERRIDE;
73 73
74 virtual SkBounder* setBounder(SkBounder*) SK_OVERRIDE; 74 virtual SkBounder* setBounder(SkBounder*) SK_OVERRIDE;
75 virtual SkDrawFilter* setDrawFilter(SkDrawFilter*) SK_OVERRIDE; 75 virtual SkDrawFilter* setDrawFilter(SkDrawFilter*) SK_OVERRIDE;
76 76
77 virtual void beginCommentGroup(const char* description) SK_OVERRIDE;
78 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE;
79 virtual void endCommentGroup() SK_OVERRIDE;
80
77 private: 81 private:
78 SkTDArray<SkCanvas*> fList; 82 SkTDArray<SkCanvas*> fList;
79 83
80 class Iter; 84 class Iter;
81 85
82 typedef SkCanvas INHERITED; 86 typedef SkCanvas INHERITED;
83 }; 87 };
84 88
85 89
86 #endif 90 #endif
OLDNEW
« no previous file with comments | « no previous file | src/utils/SkNWayCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698