OLD | NEW |
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 Loading... |
98 SkScalar x, | 98 SkScalar x, |
99 SkScalar y, | 99 SkScalar y, |
100 const SkPaint& paint) override; | 100 const SkPaint& paint) override; |
101 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 101 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
102 const SkPoint texCoords[4], SkXfermode* xmode, | 102 const SkPoint texCoords[4], SkXfermode* xmode, |
103 const SkPaint& paint) override; | 103 const SkPaint& paint) override; |
104 | 104 |
105 void onDrawPaint(const SkPaint&) override; | 105 void onDrawPaint(const SkPaint&) override; |
106 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; | 106 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; |
107 void onDrawRect(const SkRect&, const SkPaint&) override; | 107 void onDrawRect(const SkRect&, const SkPaint&) override; |
| 108 void onDrawRegion(const SkRegion&, const SkPaint&) override; |
108 void onDrawOval(const SkRect&, const SkPaint&) override; | 109 void onDrawOval(const SkRect&, const SkPaint&) override; |
109 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over
ride; | 110 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over
ride; |
110 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 111 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
111 void onDrawPath(const SkPath&, const SkPaint&) override; | 112 void onDrawPath(const SkPath&, const SkPaint&) override; |
112 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; | 113 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; |
113 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, | 114 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, |
114 SrcRectConstraint) override; | 115 SrcRectConstraint) override; |
115 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; | 116 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; |
116 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 117 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
117 const SkPaint*, SrcRectConstraint) override; | 118 const SkPaint*, SrcRectConstraint) override; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 170 |
170 DrawPictureMode fDrawPictureMode; | 171 DrawPictureMode fDrawPictureMode; |
171 size_t fApproxBytesUsedBySubPictures; | 172 size_t fApproxBytesUsedBySubPictures; |
172 SkRecord* fRecord; | 173 SkRecord* fRecord; |
173 SkAutoTDelete<SkDrawableList> fDrawableList; | 174 SkAutoTDelete<SkDrawableList> fDrawableList; |
174 | 175 |
175 SkMiniRecorder* fMiniRecorder; | 176 SkMiniRecorder* fMiniRecorder; |
176 }; | 177 }; |
177 | 178 |
178 #endif//SkRecorder_DEFINED | 179 #endif//SkRecorder_DEFINED |
OLD | NEW |