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 13 matching lines...) Expand all Loading... |
24 #endif | 24 #endif |
25 | 25 |
26 void willSave() override; | 26 void willSave() override; |
27 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; | 27 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; |
28 void willRestore() override; | 28 void willRestore() override; |
29 | 29 |
30 void didConcat(const SkMatrix&) override; | 30 void didConcat(const SkMatrix&) override; |
31 void didSetMatrix(const SkMatrix&) override; | 31 void didSetMatrix(const SkMatrix&) override; |
32 void didTranslate(SkScalar, SkScalar) override; | 32 void didTranslate(SkScalar, SkScalar) override; |
33 | 33 |
34 void onClipRect (const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 34 void onClipRect (const SkRect&, ClipOp, ClipEdgeStyle) override; |
35 void onClipRRect (const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 35 void onClipRRect (const SkRRect&, ClipOp, ClipEdgeStyle) override; |
36 void onClipPath (const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 36 void onClipPath (const SkPath&, ClipOp, ClipEdgeStyle) override; |
37 void onClipRegion(const SkRegion&, SkRegion::Op) override; | 37 void onClipRegion(const SkRegion&, ClipOp) override; |
38 | 38 |
39 void onDrawPaint (const SkPaint&) override; | 39 void onDrawPaint (const SkPaint&) override; |
40 void onDrawPath (const SkPath&, const SkPaint&) override; | 40 void onDrawPath (const SkPath&, const SkPaint&) override; |
41 void onDrawRect (const SkRect&, const SkPaint&) override; | 41 void onDrawRect (const SkRect&, const SkPaint&) override; |
42 void onDrawRegion(const SkRegion&, const SkPaint&) override; | 42 void onDrawRegion(const SkRegion&, const SkPaint&) override; |
43 void onDrawOval (const SkRect&, const SkPaint&) override; | 43 void onDrawOval (const SkRect&, const SkPaint&) override; |
44 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over
ride; | 44 void onDrawArc(const SkRect&, SkScalar, SkScalar, bool, const SkPaint&) over
ride; |
45 void onDrawRRect (const SkRRect&, const SkPaint&) override; | 45 void onDrawRRect (const SkRRect&, const SkPaint&) override; |
46 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; | 46 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; |
47 | 47 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 void didTranslateZ(SkScalar); | 87 void didTranslateZ(SkScalar); |
88 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, | 88 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, |
89 const SkPaint*, const SkShadowParams& params); | 89 const SkPaint*, const SkShadowParams& params); |
90 #endif | 90 #endif |
91 | 91 |
92 private: | 92 private: |
93 SkLiteDL* fDL; | 93 SkLiteDL* fDL; |
94 }; | 94 }; |
95 | 95 |
96 #endif//SkLiteRecorder_DEFINED | 96 #endif//SkLiteRecorder_DEFINED |
OLD | NEW |