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

Side by Side Diff: include/utils/SkDumpCanvas.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/private/SkRecords.h ('k') | include/utils/SkLuaCanvas.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 * Copyright 2011 Google Inc. 2 * Copyright 2011 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 #ifndef SkDumpCanvas_DEFINED 8 #ifndef SkDumpCanvas_DEFINED
9 #define SkDumpCanvas_DEFINED 9 #define SkDumpCanvas_DEFINED
10 10
(...skipping 18 matching lines...) Expand all
29 kSave_Verb, 29 kSave_Verb,
30 kRestore_Verb, 30 kRestore_Verb,
31 31
32 kMatrix_Verb, 32 kMatrix_Verb,
33 33
34 kClip_Verb, 34 kClip_Verb,
35 35
36 kDrawPaint_Verb, 36 kDrawPaint_Verb,
37 kDrawPoints_Verb, 37 kDrawPoints_Verb,
38 kDrawOval_Verb, 38 kDrawOval_Verb,
39 kDrawArc_Verb,
39 kDrawRect_Verb, 40 kDrawRect_Verb,
40 kDrawRRect_Verb, 41 kDrawRRect_Verb,
41 kDrawDRRect_Verb, 42 kDrawDRRect_Verb,
42 kDrawPath_Verb, 43 kDrawPath_Verb,
43 kDrawBitmap_Verb, 44 kDrawBitmap_Verb,
44 kDrawText_Verb, 45 kDrawText_Verb,
45 kDrawPicture_Verb, 46 kDrawPicture_Verb,
46 kDrawVertices_Verb, 47 kDrawVertices_Verb,
47 kDrawPatch_Verb, 48 kDrawPatch_Verb,
48 kDrawData_Verb, // obsolete 49 kDrawData_Verb, // obsolete
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, 93 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y,
93 const SkPaint& paint) override; 94 const SkPaint& paint) override;
94 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], 95 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
95 const SkPoint texCoords[4], SkXfermode* xmode, 96 const SkPoint texCoords[4], SkXfermode* xmode,
96 const SkPaint& paint) override; 97 const SkPaint& paint) override;
97 98
98 void onDrawPaint(const SkPaint&) override; 99 void onDrawPaint(const SkPaint&) override;
99 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override; 100 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override;
100 void onDrawRect(const SkRect&, const SkPaint&) override; 101 void onDrawRect(const SkRect&, const SkPaint&) override;
101 void onDrawOval(const SkRect&, const SkPaint&) override; 102 void onDrawOval(const SkRect&, const SkPaint&) override;
103 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over ride;
102 void onDrawRRect(const SkRRect&, const SkPaint&) override; 104 void onDrawRRect(const SkRRect&, const SkPaint&) override;
103 void onDrawPath(const SkPath&, const SkPaint&) override; 105 void onDrawPath(const SkPath&, const SkPaint&) override;
104 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override; 106 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override;
105 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, 107 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*,
106 SrcRectConstraint) override; 108 SrcRectConstraint) override;
107 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override; 109 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override;
108 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, 110 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
109 const SkPaint*, SrcRectConstraint) override; 111 const SkPaint*, SrcRectConstraint) override;
110 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, 112 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst,
111 const SkPaint*) override; 113 const SkPaint*) override;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 */ 159 */
158 class SkDebugfDumper : public SkFormatDumper { 160 class SkDebugfDumper : public SkFormatDumper {
159 public: 161 public:
160 SkDebugfDumper(); 162 SkDebugfDumper();
161 163
162 private: 164 private:
163 typedef SkFormatDumper INHERITED; 165 typedef SkFormatDumper INHERITED;
164 }; 166 };
165 167
166 #endif 168 #endif
OLDNEW
« no previous file with comments | « include/private/SkRecords.h ('k') | include/utils/SkLuaCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698