| 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 } | 187 } |
| 188 | 188 |
| 189 protected: | 189 protected: |
| 190 void willSave() override; | 190 void willSave() override; |
| 191 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; | 191 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; |
| 192 void willRestore() override; | 192 void willRestore() override; |
| 193 | 193 |
| 194 void didConcat(const SkMatrix&) override; | 194 void didConcat(const SkMatrix&) override; |
| 195 void didSetMatrix(const SkMatrix&) override; | 195 void didSetMatrix(const SkMatrix&) override; |
| 196 | 196 |
| 197 void didTranslateZ(SkScalar) override; |
| 198 |
| 197 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; | 199 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; |
| 198 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; | 200 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; |
| 199 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, | 201 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, |
| 200 const SkPaint&) override; | 202 const SkPaint&) override; |
| 201 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], | 203 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], |
| 202 const SkPaint&) override; | 204 const SkPaint&) override; |
| 203 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos
[], | 205 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos
[], |
| 204 SkScalar constY, const SkPaint&) override; | 206 SkScalar constY, const SkPaint&) override; |
| 205 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, | 207 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, |
| 206 const SkMatrix* matrix, const SkPaint&) override; | 208 const SkMatrix* matrix, const SkPaint&) override; |
| (...skipping 83 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 |