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

Side by Side Diff: debugger/SkDebugCanvas.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 | « debugger/QT/SkDebuggerGUI.cpp ('k') | debugger/SkDebugCanvas.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 2012 Google Inc. 3 * Copyright 2012 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 9
10 #ifndef SKDEBUGCANVAS_H_ 10 #ifndef SKDEBUGCANVAS_H_
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 const SkRect& dst, const SkPaint*) SK_OVERRIDE ; 164 const SkRect& dst, const SkPaint*) SK_OVERRIDE ;
165 165
166 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, 166 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&,
167 const SkPaint*) SK_OVERRIDE; 167 const SkPaint*) SK_OVERRIDE;
168 168
169 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, 169 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
170 const SkRect& dst, const SkPaint*) SK_OVERRIDE; 170 const SkRect& dst, const SkPaint*) SK_OVERRIDE;
171 171
172 virtual void drawData(const void*, size_t) SK_OVERRIDE; 172 virtual void drawData(const void*, size_t) SK_OVERRIDE;
173 173
174 virtual void beginCommentGroup(const char* description) SK_OVERRIDE;
175
176 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE;
177
178 virtual void endCommentGroup() SK_OVERRIDE;
179
174 virtual void drawOval(const SkRect& oval, const SkPaint&) SK_OVERRIDE; 180 virtual void drawOval(const SkRect& oval, const SkPaint&) SK_OVERRIDE;
175 181
176 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; 182 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE;
177 183
178 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; 184 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE;
179 185
180 virtual void drawPicture(SkPicture& picture) SK_OVERRIDE; 186 virtual void drawPicture(SkPicture& picture) SK_OVERRIDE;
181 187
182 virtual void drawPoints(PointMode, size_t count, const SkPoint pts[], 188 virtual void drawPoints(PointMode, size_t count, const SkPoint pts[],
183 const SkPaint&) SK_OVERRIDE; 189 const SkPaint&) SK_OVERRIDE;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 /** 264 /**
259 Applies any panning and zooming the user has specified before 265 Applies any panning and zooming the user has specified before
260 drawing anything else into the canvas. 266 drawing anything else into the canvas.
261 */ 267 */
262 void applyUserTransform(SkCanvas* canvas); 268 void applyUserTransform(SkCanvas* canvas);
263 269
264 typedef SkCanvas INHERITED; 270 typedef SkCanvas INHERITED;
265 }; 271 };
266 272
267 #endif 273 #endif
OLDNEW
« no previous file with comments | « debugger/QT/SkDebuggerGUI.cpp ('k') | debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698