OLD | NEW |
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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; | 175 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
176 | 176 |
177 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; | 177 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; |
178 | 178 |
179 virtual void endCommentGroup() SK_OVERRIDE; | 179 virtual void endCommentGroup() SK_OVERRIDE; |
180 | 180 |
181 virtual void drawOval(const SkRect& oval, const SkPaint&) SK_OVERRIDE; | 181 virtual void drawOval(const SkRect& oval, const SkPaint&) SK_OVERRIDE; |
182 | 182 |
183 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; | 183 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; |
184 | 184 |
185 virtual void drawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; | 185 virtual void onDrawPath(const SkPath& path, const SkPaint&) SK_OVERRIDE; |
186 | 186 |
187 virtual void drawPicture(SkPicture& picture) SK_OVERRIDE; | 187 virtual void drawPicture(SkPicture& picture) SK_OVERRIDE; |
188 | 188 |
189 virtual void drawPoints(PointMode, size_t count, const SkPoint pts[], | 189 virtual void drawPoints(PointMode, size_t count, const SkPoint pts[], |
190 const SkPaint&) SK_OVERRIDE; | 190 const SkPaint&) SK_OVERRIDE; |
191 | 191 |
192 virtual void drawPosText(const void* text, size_t byteLength, | 192 virtual void drawPosText(const void* text, size_t byteLength, |
193 const SkPoint pos[], const SkPaint&) SK_OVERRIDE; | 193 const SkPoint pos[], const SkPaint&) SK_OVERRIDE; |
194 | 194 |
195 virtual void drawPosTextH(const void* text, size_t byteLength, | 195 virtual void drawPosTextH(const void* text, size_t byteLength, |
196 const SkScalar xpos[], SkScalar constY, | 196 const SkScalar xpos[], SkScalar constY, |
197 const SkPaint&) SK_OVERRIDE; | 197 const SkPaint&) SK_OVERRIDE; |
198 | 198 |
199 virtual void drawRect(const SkRect& rect, const SkPaint&) SK_OVERRIDE; | 199 virtual void onDrawRect(const SkRect& rect, const SkPaint&) SK_OVERRIDE; |
200 | 200 |
201 virtual void drawRRect(const SkRRect& rrect, const SkPaint& paint) SK_OVERRI
DE; | 201 virtual void drawRRect(const SkRRect& rrect, const SkPaint& paint) SK_OVERRI
DE; |
202 | 202 |
203 virtual void drawSprite(const SkBitmap&, int left, int top, | 203 virtual void drawSprite(const SkBitmap&, int left, int top, |
204 const SkPaint*) SK_OVERRIDE; | 204 const SkPaint*) SK_OVERRIDE; |
205 | 205 |
206 virtual void drawText(const void* text, size_t byteLength, SkScalar x, | 206 virtual void drawText(const void* text, size_t byteLength, SkScalar x, |
207 SkScalar y, const SkPaint&) SK_OVERRIDE; | 207 SkScalar y, const SkPaint&) SK_OVERRIDE; |
208 | 208 |
209 virtual void drawTextOnPath(const void* text, size_t byteLength, | 209 virtual void drawTextOnPath(const void* text, size_t byteLength, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 /** | 265 /** |
266 Applies any panning and zooming the user has specified before | 266 Applies any panning and zooming the user has specified before |
267 drawing anything else into the canvas. | 267 drawing anything else into the canvas. |
268 */ | 268 */ |
269 void applyUserTransform(SkCanvas* canvas); | 269 void applyUserTransform(SkCanvas* canvas); |
270 | 270 |
271 typedef SkCanvas INHERITED; | 271 typedef SkCanvas INHERITED; |
272 }; | 272 }; |
273 | 273 |
274 #endif | 274 #endif |
OLD | NEW |