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 | 180 |
181 virtual void willSave() SK_OVERRIDE; | 181 virtual void willSave() SK_OVERRIDE; |
182 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF
lags) SK_OVERRIDE; | 182 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF
lags) SK_OVERRIDE; |
183 virtual void willRestore() SK_OVERRIDE; | 183 virtual void willRestore() SK_OVERRIDE; |
184 | 184 |
185 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; | 185 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; |
186 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; | 186 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; |
187 | 187 |
188 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; | 188 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; |
189 virtual void onPushCull(const SkRect&) SK_OVERRIDE; | |
190 virtual void onPopCull() SK_OVERRIDE; | |
191 | 189 |
192 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, | 190 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, |
193 const SkPaint&) SK_OVERRIDE; | 191 const SkPaint&) SK_OVERRIDE; |
194 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], | 192 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], |
195 const SkPaint&) SK_OVERRIDE; | 193 const SkPaint&) SK_OVERRIDE; |
196 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], | 194 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca
lar xpos[], |
197 SkScalar constY, const SkPaint&) SK_OVERRIDE; | 195 SkScalar constY, const SkPaint&) SK_OVERRIDE; |
198 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, | 196 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP
ath& path, |
199 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; | 197 const SkMatrix* matrix, const SkPaint&) SK_OVE
RRIDE; |
200 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, | 198 virtual void onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 | 240 |
243 uint32_t fRecordFlags; | 241 uint32_t fRecordFlags; |
244 int fInitialSaveCount; | 242 int fInitialSaveCount; |
245 | 243 |
246 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor | 244 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c
onstructor |
247 | 245 |
248 typedef SkCanvas INHERITED; | 246 typedef SkCanvas INHERITED; |
249 }; | 247 }; |
250 | 248 |
251 #endif | 249 #endif |
OLD | NEW |