OLD | NEW |
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 SkPictureRecord_DEFINED | 8 #ifndef SkPictureRecord_DEFINED |
9 #define SkPictureRecord_DEFINED | 9 #define SkPictureRecord_DEFINED |
10 | 10 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 179 |
180 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 180 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
181 const SkPoint texCoords[4], SkXfermode* xmode, | 181 const SkPoint texCoords[4], SkXfermode* xmode, |
182 const SkPaint& paint) override; | 182 const SkPaint& paint) override; |
183 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], int, | 183 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], int, |
184 SkXfermode::Mode, const SkRect*, const SkPaint*) override; | 184 SkXfermode::Mode, const SkRect*, const SkPaint*) override; |
185 | 185 |
186 void onDrawPaint(const SkPaint&) override; | 186 void onDrawPaint(const SkPaint&) override; |
187 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; | 187 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; |
188 void onDrawRect(const SkRect&, const SkPaint&) override; | 188 void onDrawRect(const SkRect&, const SkPaint&) override; |
| 189 void onDrawRegion(const SkRegion&, const SkPaint&) override; |
189 void onDrawOval(const SkRect&, const SkPaint&) override; | 190 void onDrawOval(const SkRect&, const SkPaint&) override; |
190 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over
ride; | 191 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over
ride; |
191 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 192 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
192 void onDrawPath(const SkPath&, const SkPaint&) override; | 193 void onDrawPath(const SkPath&, const SkPaint&) override; |
193 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; | 194 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; |
194 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 195 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
195 const SkPaint*, SrcRectConstraint) override; | 196 const SkPaint*, SrcRectConstraint) override; |
196 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, | 197 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, |
197 const SkPaint*) override; | 198 const SkPaint*) override; |
198 void onDrawImageLattice(const SkImage*, const SkCanvas::Lattice& lattice, co
nst SkRect& dst, | 199 void onDrawImageLattice(const SkImage*, const SkCanvas::Lattice& lattice, co
nst SkRect& dst, |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 | 278 |
278 uint32_t fRecordFlags; | 279 uint32_t fRecordFlags; |
279 int fInitialSaveCount; | 280 int fInitialSaveCount; |
280 | 281 |
281 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor | 282 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
282 | 283 |
283 typedef SkCanvas INHERITED; | 284 typedef SkCanvas INHERITED; |
284 }; | 285 }; |
285 | 286 |
286 #endif | 287 #endif |
OLD | NEW |