| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 | 8 |
| 9 #ifndef SKDEBUGCANVAS_H_ | 9 #ifndef SKDEBUGCANVAS_H_ |
| 10 #define SKDEBUGCANVAS_H_ | 10 #define SKDEBUGCANVAS_H_ |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; | 197 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; |
| 198 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; | 198 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; |
| 199 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, | 199 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, |
| 200 const SkPaint&) override; | 200 const SkPaint&) override; |
| 201 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], | 201 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], |
| 202 const SkPaint&) override; | 202 const SkPaint&) override; |
| 203 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos
[], | 203 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos
[], |
| 204 SkScalar constY, const SkPaint&) override; | 204 SkScalar constY, const SkPaint&) override; |
| 205 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, | 205 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, |
| 206 const SkMatrix* matrix, const SkPaint&) override; | 206 const SkMatrix* matrix, const SkPaint&) override; |
| 207 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform[
], const SkRect*, |
| 208 const SkPaint&) override; |
| 207 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, | 209 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
| 208 const SkPaint& paint) override; | 210 const SkPaint& paint) override; |
| 209 | 211 |
| 210 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 212 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
| 211 const SkPoint texCoords[4], SkXfermode* xmode, const SkPain
t& paint) override; | 213 const SkPoint texCoords[4], SkXfermode* xmode, const SkPain
t& paint) override; |
| 212 void onDrawPaint(const SkPaint&) override; | 214 void onDrawPaint(const SkPaint&) override; |
| 213 | 215 |
| 214 void onDrawRect(const SkRect&, const SkPaint&) override; | 216 void onDrawRect(const SkRect&, const SkPaint&) override; |
| 215 void onDrawOval(const SkRect&, const SkPaint&) override; | 217 void onDrawOval(const SkRect&, const SkPaint&) override; |
| 216 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 218 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 GrAuditTrail* getAuditTrail(SkCanvas*); | 292 GrAuditTrail* getAuditTrail(SkCanvas*); |
| 291 | 293 |
| 292 void updatePaintFilterCanvas(); | 294 void updatePaintFilterCanvas(); |
| 293 void drawAndCollectBatches(int n, SkCanvas*); | 295 void drawAndCollectBatches(int n, SkCanvas*); |
| 294 void cleanupAuditTrail(SkCanvas*); | 296 void cleanupAuditTrail(SkCanvas*); |
| 295 | 297 |
| 296 typedef SkCanvas INHERITED; | 298 typedef SkCanvas INHERITED; |
| 297 }; | 299 }; |
| 298 | 300 |
| 299 #endif | 301 #endif |
| OLD | NEW |