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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 const SkPaint&) override; | 224 const SkPaint&) override; |
225 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, | 225 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
226 const SkPaint& paint) override; | 226 const SkPaint& paint) override; |
227 | 227 |
228 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 228 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
229 const SkPoint texCoords[4], SkXfermode* xmode, const SkPain
t& paint) override; | 229 const SkPoint texCoords[4], SkXfermode* xmode, const SkPain
t& paint) override; |
230 void onDrawPaint(const SkPaint&) override; | 230 void onDrawPaint(const SkPaint&) override; |
231 | 231 |
232 void onDrawRect(const SkRect&, const SkPaint&) override; | 232 void onDrawRect(const SkRect&, const SkPaint&) override; |
233 void onDrawOval(const SkRect&, const SkPaint&) override; | 233 void onDrawOval(const SkRect&, const SkPaint&) override; |
| 234 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over
ride; |
234 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 235 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
235 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; | 236 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; |
236 void onDrawVertices(VertexMode vmode, int vertexCount, | 237 void onDrawVertices(VertexMode vmode, int vertexCount, |
237 const SkPoint vertices[], const SkPoint texs[], | 238 const SkPoint vertices[], const SkPoint texs[], |
238 const SkColor colors[], SkXfermode* xmode, | 239 const SkColor colors[], SkXfermode* xmode, |
239 const uint16_t indices[], int indexCount, | 240 const uint16_t indices[], int indexCount, |
240 const SkPaint&) override; | 241 const SkPaint&) override; |
241 void onDrawPath(const SkPath&, const SkPaint&) override; | 242 void onDrawPath(const SkPath&, const SkPaint&) override; |
242 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; | 243 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; |
243 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, | 244 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 GrAuditTrail* getAuditTrail(SkCanvas*); | 319 GrAuditTrail* getAuditTrail(SkCanvas*); |
319 | 320 |
320 void updatePaintFilterCanvas(); | 321 void updatePaintFilterCanvas(); |
321 void drawAndCollectBatches(int n, SkCanvas*); | 322 void drawAndCollectBatches(int n, SkCanvas*); |
322 void cleanupAuditTrail(SkCanvas*); | 323 void cleanupAuditTrail(SkCanvas*); |
323 | 324 |
324 typedef SkCanvas INHERITED; | 325 typedef SkCanvas INHERITED; |
325 }; | 326 }; |
326 | 327 |
327 #endif | 328 #endif |
OLD | NEW |