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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 void didSetMatrix(const SkMatrix&) override; | 160 void didSetMatrix(const SkMatrix&) override; |
161 | 161 |
162 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; | 162 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; |
163 | 163 |
164 void onDrawText(const void* text, size_t, SkScalar x, SkScalar y, const SkPa
int&) override; | 164 void onDrawText(const void* text, size_t, SkScalar x, SkScalar y, const SkPa
int&) override; |
165 void onDrawPosText(const void* text, size_t, const SkPoint pos[], const SkPa
int&) override; | 165 void onDrawPosText(const void* text, size_t, const SkPoint pos[], const SkPa
int&) override; |
166 void onDrawPosTextH(const void* text, size_t, const SkScalar xpos[], SkScala
r constY, | 166 void onDrawPosTextH(const void* text, size_t, const SkScalar xpos[], SkScala
r constY, |
167 const SkPaint&) override; | 167 const SkPaint&) override; |
168 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, | 168 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, |
169 const SkMatrix* matrix, const SkPaint&) overri
de; | 169 const SkMatrix* matrix, const SkPaint&) overri
de; |
| 170 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform
xform[], |
| 171 const SkRect* cull, const SkPaint&) override; |
170 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, | 172 void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
171 const SkPaint& paint) override; | 173 const SkPaint& paint) override; |
172 | 174 |
173 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], | 175 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
174 const SkPoint texCoords[4], SkXfermode* xmode, | 176 const SkPoint texCoords[4], SkXfermode* xmode, |
175 const SkPaint& paint) override; | 177 const SkPaint& paint) override; |
176 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], int, | 178 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], int, |
177 SkXfermode::Mode, const SkRect*, const SkPaint*) override; | 179 SkXfermode::Mode, const SkRect*, const SkPaint*) override; |
178 | 180 |
179 void onDrawPaint(const SkPaint&) override; | 181 void onDrawPaint(const SkPaint&) override; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 | 246 |
245 uint32_t fRecordFlags; | 247 uint32_t fRecordFlags; |
246 int fInitialSaveCount; | 248 int fInitialSaveCount; |
247 | 249 |
248 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor | 250 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
249 | 251 |
250 typedef SkCanvas INHERITED; | 252 typedef SkCanvas INHERITED; |
251 }; | 253 }; |
252 | 254 |
253 #endif | 255 #endif |
OLD | NEW |