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

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

Issue 13957009: First pass at Comment API (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Addressed code review issues Created 7 years, 6 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 | « include/utils/SkDumpCanvas.h ('k') | src/core/SkCanvas.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 #ifndef SkProxyCanvas_DEFINED 8 #ifndef SkProxyCanvas_DEFINED
9 #define SkProxyCanvas_DEFINED 9 #define SkProxyCanvas_DEFINED
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 const SkPath& path, const SkMatrix* matrix, 70 const SkPath& path, const SkMatrix* matrix,
71 const SkPaint& paint) SK_OVERRIDE; 71 const SkPaint& paint) SK_OVERRIDE;
72 virtual void drawPicture(SkPicture&) SK_OVERRIDE; 72 virtual void drawPicture(SkPicture&) SK_OVERRIDE;
73 virtual void drawVertices(VertexMode vmode, int vertexCount, 73 virtual void drawVertices(VertexMode vmode, int vertexCount,
74 const SkPoint vertices[], const SkPoint texs[], 74 const SkPoint vertices[], const SkPoint texs[],
75 const SkColor colors[], SkXfermode* xmode, 75 const SkColor colors[], SkXfermode* xmode,
76 const uint16_t indices[], int indexCount, 76 const uint16_t indices[], int indexCount,
77 const SkPaint& paint) SK_OVERRIDE; 77 const SkPaint& paint) SK_OVERRIDE;
78 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; 78 virtual void drawData(const void* data, size_t length) SK_OVERRIDE;
79 79
80 virtual void beginCommentGroup(const char* description) SK_OVERRIDE;
81 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE;
82 virtual void endCommentGroup() SK_OVERRIDE;
83
80 virtual SkBounder* setBounder(SkBounder* bounder) SK_OVERRIDE; 84 virtual SkBounder* setBounder(SkBounder* bounder) SK_OVERRIDE;
81 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; 85 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE;
82 86
83 private: 87 private:
84 SkCanvas* fProxy; 88 SkCanvas* fProxy;
85 89
86 typedef SkCanvas INHERITED; 90 typedef SkCanvas INHERITED;
87 }; 91 };
88 92
89 #endif 93 #endif
OLDNEW
« no previous file with comments | « include/utils/SkDumpCanvas.h ('k') | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698