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