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

Side by Side Diff: tools/debugger/SkDebugCanvas.h

Issue 2257023003: Plumb drawArc to SkDevice (Closed) Base URL: https://chromium.googlesource.com/skia.git@distance
Patch Set: Address comments Created 4 years, 4 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
« no previous file with comments | « tools/android/SkAndroidSDKCanvas.cpp ('k') | tools/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 * 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
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
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
OLDNEW
« no previous file with comments | « tools/android/SkAndroidSDKCanvas.cpp ('k') | tools/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698