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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 onDrawOval(const SkRect&, const SkPaint&) override; | 189 void onDrawOval(const SkRect&, const SkPaint&) override; |
| 190 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over
ride; |
190 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 191 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
191 void onDrawPath(const SkPath&, const SkPaint&) override; | 192 void onDrawPath(const SkPath&, const SkPaint&) override; |
192 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; | 193 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; |
193 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 194 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
194 const SkPaint*, SrcRectConstraint) override; | 195 const SkPaint*, SrcRectConstraint) override; |
195 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, | 196 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, |
196 const SkPaint*) override; | 197 const SkPaint*) override; |
197 void onDrawImageLattice(const SkImage*, const SkCanvas::Lattice& lattice, co
nst SkRect& dst, | 198 void onDrawImageLattice(const SkImage*, const SkCanvas::Lattice& lattice, co
nst SkRect& dst, |
198 const SkPaint*) override; | 199 const SkPaint*) override; |
199 | 200 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 | 277 |
277 uint32_t fRecordFlags; | 278 uint32_t fRecordFlags; |
278 int fInitialSaveCount; | 279 int fInitialSaveCount; |
279 | 280 |
280 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor | 281 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
281 | 282 |
282 typedef SkCanvas INHERITED; | 283 typedef SkCanvas INHERITED; |
283 }; | 284 }; |
284 | 285 |
285 #endif | 286 #endif |
OLD | NEW |