OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 SkLiteRecorder_DEFINED | 8 #ifndef SkLiteRecorder_DEFINED |
9 #define SkLiteRecorder_DEFINED | 9 #define SkLiteRecorder_DEFINED |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 void didConcat(const SkMatrix&) override; | 26 void didConcat(const SkMatrix&) override; |
27 void didSetMatrix(const SkMatrix&) override; | 27 void didSetMatrix(const SkMatrix&) override; |
28 void didTranslate(SkScalar, SkScalar) override; | 28 void didTranslate(SkScalar, SkScalar) override; |
29 | 29 |
30 void onClipRect (const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 30 void onClipRect (const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
31 void onClipRRect (const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 31 void onClipRRect (const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
32 void onClipPath (const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 32 void onClipPath (const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
33 void onClipRegion(const SkRegion&, SkRegion::Op) override; | 33 void onClipRegion(const SkRegion&, SkRegion::Op) override; |
34 | 34 |
35 void onDrawPaint (const SkPaint&) override; | 35 void onDrawPaint (const SkPaint&) override; |
36 void onDrawPath (const SkPath&, const SkPaint&) override; | 36 void onDrawPath (const SkPath&, const SkPaint&) override; |
37 void onDrawRect (const SkRect&, const SkPaint&) override; | 37 void onDrawRect (const SkRect&, const SkPaint&) override; |
38 void onDrawOval (const SkRect&, const SkPaint&) override; | 38 void onDrawRegion(const SkRegion&, const SkPaint&) override; |
| 39 void onDrawOval (const SkRect&, const SkPaint&) override; |
39 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over
ride; | 40 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over
ride; |
40 void onDrawRRect (const SkRRect&, const SkPaint&) override; | 41 void onDrawRRect (const SkRRect&, const SkPaint&) override; |
41 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; | 42 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; |
42 | 43 |
43 void onDrawDrawable(SkDrawable*, const SkMatrix*) override; | 44 void onDrawDrawable(SkDrawable*, const SkMatrix*) override; |
44 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; | 45 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; |
45 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; | 46 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; |
46 | 47 |
47 void onDrawText (const void*, size_t, SkScalar x, SkScalar y, const SkP
aint&) override; | 48 void onDrawText (const void*, size_t, SkScalar x, SkScalar y, const SkP
aint&) override; |
48 void onDrawPosText (const void*, size_t, const SkPoint[], const SkPaint&)
override; | 49 void onDrawPosText (const void*, size_t, const SkPoint[], const SkPaint&)
override; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 #else | 81 #else |
81 void didTranslateZ(SkScalar); | 82 void didTranslateZ(SkScalar); |
82 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, const SkPaint*
); | 83 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, const SkPaint*
); |
83 #endif | 84 #endif |
84 | 85 |
85 private: | 86 private: |
86 SkLiteDL* fDL; | 87 SkLiteDL* fDL; |
87 }; | 88 }; |
88 | 89 |
89 #endif//SkLiteRecorder_DEFINED | 90 #endif//SkLiteRecorder_DEFINED |
OLD | NEW |