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

Side by Side Diff: include/utils/SkNWayCanvas.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 | « include/utils/SkLuaCanvas.h ('k') | include/utils/SkPaintFilterCanvas.h » ('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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 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 #ifndef SkNWayCanvas_DEFINED 9 #ifndef SkNWayCanvas_DEFINED
10 #define SkNWayCanvas_DEFINED 10 #define SkNWayCanvas_DEFINED
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[], 52 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[],
53 const SkRect* cull, const SkPaint& paint) override; 53 const SkRect* cull, const SkPaint& paint) override;
54 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], 54 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
55 const SkPoint texCoords[4], SkXfermode* xmode, 55 const SkPoint texCoords[4], SkXfermode* xmode,
56 const SkPaint& paint) override; 56 const SkPaint& paint) override;
57 57
58 void onDrawPaint(const SkPaint&) override; 58 void onDrawPaint(const SkPaint&) override;
59 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override; 59 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override;
60 void onDrawRect(const SkRect&, const SkPaint&) override; 60 void onDrawRect(const SkRect&, const SkPaint&) override;
61 void onDrawOval(const SkRect&, const SkPaint&) override; 61 void onDrawOval(const SkRect&, const SkPaint&) override;
62 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over ride;
62 void onDrawRRect(const SkRRect&, const SkPaint&) override; 63 void onDrawRRect(const SkRRect&, const SkPaint&) override;
63 void onDrawPath(const SkPath&, const SkPaint&) override; 64 void onDrawPath(const SkPath&, const SkPaint&) override;
64 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override; 65 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override;
65 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, 66 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*,
66 SrcRectConstraint) override; 67 SrcRectConstraint) override;
67 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override; 68 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override;
68 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, 69 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
69 const SkPaint*, SrcRectConstraint) override; 70 const SkPaint*, SrcRectConstraint) override;
70 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, 71 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst,
71 const SkPaint*) override; 72 const SkPaint*) override;
(...skipping 12 matching lines...) Expand all
84 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; 85 void onDrawAnnotation(const SkRect&, const char[], SkData*) override;
85 86
86 class Iter; 87 class Iter;
87 88
88 private: 89 private:
89 typedef SkCanvas INHERITED; 90 typedef SkCanvas INHERITED;
90 }; 91 };
91 92
92 93
93 #endif 94 #endif
OLDNEW
« no previous file with comments | « include/utils/SkLuaCanvas.h ('k') | include/utils/SkPaintFilterCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698