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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
209 const SkPaint&) override; | 209 const SkPaint&) override; |
210 | 210 |
211 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 211 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
212 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 212 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
213 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 213 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
214 void onClipRegion(const SkRegion&, SkRegion::Op) override; | 214 void onClipRegion(const SkRegion&, SkRegion::Op) override; |
215 | 215 |
216 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de; | 216 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de; |
217 | 217 |
218 #ifdef SK_EXPERIMENTAL_SHADOWING | 218 #ifdef SK_EXPERIMENTAL_SHADOWING |
219 void onDrawShadowedPicture(const SkPicture*, | 219 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, |
220 const SkMatrix*, | 220 const SkPaint*, SkShadowType sType) override; |
jvanverth1
2016/08/15 16:37:17
const &
vjiaoblack
2016/08/15 17:43:31
Done.
| |
221 const SkPaint*) override; | |
222 #else | 221 #else |
223 void onDrawShadowedPicture(const SkPicture*, | 222 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, |
224 const SkMatrix*, | 223 const SkPaint*, SkShadowType sType); |
jvanverth1
2016/08/15 16:37:17
const &
vjiaoblack
2016/08/15 17:43:31
Done.
| |
225 const SkPaint*); | |
226 #endif | 224 #endif |
227 | 225 |
228 void onDrawDrawable(SkDrawable*, const SkMatrix*) override; | 226 void onDrawDrawable(SkDrawable*, const SkMatrix*) override; |
229 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; | 227 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; |
230 | 228 |
231 int addPathToHeap(const SkPath& path); // does not write to ops stream | 229 int addPathToHeap(const SkPath& path); // does not write to ops stream |
232 | 230 |
233 // These entry points allow the writing of matrices, clips, saves & | 231 // These entry points allow the writing of matrices, clips, saves & |
234 // restores to be deferred (e.g., if the MC state is being collapsed and | 232 // restores to be deferred (e.g., if the MC state is being collapsed and |
235 // only written out as needed). | 233 // only written out as needed). |
(...skipping 29 matching lines...) Expand all Loading... | |
265 | 263 |
266 uint32_t fRecordFlags; | 264 uint32_t fRecordFlags; |
267 int fInitialSaveCount; | 265 int fInitialSaveCount; |
268 | 266 |
269 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor | 267 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor |
270 | 268 |
271 typedef SkCanvas INHERITED; | 269 typedef SkCanvas INHERITED; |
272 }; | 270 }; |
273 | 271 |
274 #endif | 272 #endif |
OLD | NEW |