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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 | 154 |
155 void willSave() override; | 155 void willSave() override; |
156 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; | 156 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; |
157 void willRestore() override; | 157 void willRestore() override; |
158 | 158 |
159 void didConcat(const SkMatrix&) override; | 159 void didConcat(const SkMatrix&) override; |
160 void didSetMatrix(const SkMatrix&) override; | 160 void didSetMatrix(const SkMatrix&) override; |
161 | 161 |
162 #ifdef SK_EXPERIMENTAL_SHADOWING | 162 #ifdef SK_EXPERIMENTAL_SHADOWING |
163 void didTranslateZ(SkScalar) override; | 163 void didTranslateZ(SkScalar) override; |
164 #endif | 164 #else |
165 void didTranslateZ(SkScalar); | 165 void didTranslateZ(SkScalar); |
166 #endif | 166 #endif |
167 | 167 |
168 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; | 168 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; |
169 | 169 |
170 void onDrawText(const void* text, size_t, SkScalar x, SkScalar y, const SkPa
int&) override; | 170 void onDrawText(const void* text, size_t, SkScalar x, SkScalar y, const SkPa
int&) override; |
171 void onDrawPosText(const void* text, size_t, const SkPoint pos[], const SkPa
int&) override; | 171 void onDrawPosText(const void* text, size_t, const SkPoint pos[], const SkPa
int&) override; |
172 void onDrawPosTextH(const void* text, size_t, const SkScalar xpos[], SkScala
r constY, | 172 void onDrawPosTextH(const void* text, size_t, const SkScalar xpos[], SkScala
r constY, |
173 const SkPaint&) override; | 173 const SkPaint&) override; |
174 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, | 174 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& pat
h, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 SkTDArray<SkDrawable*> fDrawableRefs; | 261 SkTDArray<SkDrawable*> fDrawableRefs; |
262 SkTDArray<const SkTextBlob*> fTextBlobRefs; | 262 SkTDArray<const SkTextBlob*> fTextBlobRefs; |
263 | 263 |
264 uint32_t fRecordFlags; | 264 uint32_t fRecordFlags; |
265 int fInitialSaveCount; | 265 int fInitialSaveCount; |
266 | 266 |
267 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor | 267 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
268 | 268 |
269 typedef SkCanvas INHERITED; | 269 typedef SkCanvas INHERITED; |
270 }; | 270 }; |
| 271 |
| 272 #endif |
OLD | NEW |