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

Side by Side Diff: src/core/SkRecorder.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 | « src/core/SkRecordDraw.cpp ('k') | src/core/SkRecorder.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 2014 Google Inc. 2 * Copyright 2014 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 SkRecorder_DEFINED 8 #ifndef SkRecorder_DEFINED
9 #define SkRecorder_DEFINED 9 #define SkRecorder_DEFINED
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 SkScalar y, 98 SkScalar y,
99 const SkPaint& paint) override; 99 const SkPaint& paint) override;
100 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], 100 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
101 const SkPoint texCoords[4], SkXfermode* xmode, 101 const SkPoint texCoords[4], SkXfermode* xmode,
102 const SkPaint& paint) override; 102 const SkPaint& paint) override;
103 103
104 void onDrawPaint(const SkPaint&) override; 104 void onDrawPaint(const SkPaint&) override;
105 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override; 105 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override;
106 void onDrawRect(const SkRect&, const SkPaint&) override; 106 void onDrawRect(const SkRect&, const SkPaint&) override;
107 void onDrawOval(const SkRect&, const SkPaint&) override; 107 void onDrawOval(const SkRect&, const SkPaint&) override;
108 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over ride;
108 void onDrawRRect(const SkRRect&, const SkPaint&) override; 109 void onDrawRRect(const SkRRect&, const SkPaint&) override;
109 void onDrawPath(const SkPath&, const SkPaint&) override; 110 void onDrawPath(const SkPath&, const SkPaint&) override;
110 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override; 111 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override;
111 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, 112 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*,
112 SrcRectConstraint) override; 113 SrcRectConstraint) override;
113 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override; 114 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override;
114 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, 115 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
115 const SkPaint*, SrcRectConstraint) override; 116 const SkPaint*, SrcRectConstraint) override;
116 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds t, 117 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds t,
117 const SkPaint*) override; 118 const SkPaint*) override;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 168
168 DrawPictureMode fDrawPictureMode; 169 DrawPictureMode fDrawPictureMode;
169 size_t fApproxBytesUsedBySubPictures; 170 size_t fApproxBytesUsedBySubPictures;
170 SkRecord* fRecord; 171 SkRecord* fRecord;
171 SkAutoTDelete<SkDrawableList> fDrawableList; 172 SkAutoTDelete<SkDrawableList> fDrawableList;
172 173
173 SkMiniRecorder* fMiniRecorder; 174 SkMiniRecorder* fMiniRecorder;
174 }; 175 };
175 176
176 #endif//SkRecorder_DEFINED 177 #endif//SkRecorder_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkRecordDraw.cpp ('k') | src/core/SkRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698