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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 virtual void onPopCull() SK_OVERRIDE; | 206 virtual void onPopCull() SK_OVERRIDE; |
207 | 207 |
208 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, | 208 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, |
209 const SkPaint&) SK_OVERRIDE; | 209 const SkPaint&) SK_OVERRIDE; |
210 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], | 210 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], |
211 const SkPaint&) SK_OVERRIDE; | 211 const SkPaint&) SK_OVERRIDE; |
212 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], | 212 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], |
213 SkScalar constY, const SkPaint&) SK_OVERRIDE; | 213 SkScalar constY, const SkPaint&) SK_OVERRIDE; |
214 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, | 214 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, |
215 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; | 215 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; |
216 | 216 virtual void onDrawTextBlob(const SkTextBlob*, const SkPoint&, const SkPaint
&) SK_OVERRIDE; |
| 217 |
217 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 218 virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
218 const SkPoint texCoords[4], SkXfermode* xmode, | 219 const SkPoint texCoords[4], SkXfermode* xmode, |
219 const SkPaint& paint) SK_OVERRIDE; | 220 const SkPaint& paint) SK_OVERRIDE; |
220 | 221 |
221 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 222 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
222 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; | 223 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE
RRIDE; |
223 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 224 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
224 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; | 225 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; |
225 | 226 |
226 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE; | 227 virtual void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) SK_OVERRIDE; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 bool fOptsEnabled; | 288 bool fOptsEnabled; |
288 int fInitialSaveCount; | 289 int fInitialSaveCount; |
289 | 290 |
290 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor | 291 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
291 friend class SkPictureTester; // for unit testing | 292 friend class SkPictureTester; // for unit testing |
292 | 293 |
293 typedef SkCanvas INHERITED; | 294 typedef SkCanvas INHERITED; |
294 }; | 295 }; |
295 | 296 |
296 #endif | 297 #endif |
OLD | NEW |