OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 SkRecorder_DEFINED | 8 #ifndef SkRecorder_DEFINED |
9 #define SkRecorder_DEFINED | 9 #define SkRecorder_DEFINED |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 void willSave() override; | 56 void willSave() override; |
57 SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SkCanvas::Sav
eFlags) override; | 57 SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SkCanvas::Sav
eFlags) override; |
58 void willRestore() override {} | 58 void willRestore() override {} |
59 void didRestore() override; | 59 void didRestore() override; |
60 | 60 |
61 void didConcat(const SkMatrix&) override; | 61 void didConcat(const SkMatrix&) override; |
62 void didSetMatrix(const SkMatrix&) override; | 62 void didSetMatrix(const SkMatrix&) override; |
63 | 63 |
64 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; | 64 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; |
65 void onDrawDrawable(SkDrawable*) override; | 65 void onDrawDrawable(SkDrawable*, const SkMatrix*) override; |
66 void onDrawText(const void* text, | 66 void onDrawText(const void* text, |
67 size_t byteLength, | 67 size_t byteLength, |
68 SkScalar x, | 68 SkScalar x, |
69 SkScalar y, | 69 SkScalar y, |
70 const SkPaint& paint) override; | 70 const SkPaint& paint) override; |
71 void onDrawPosText(const void* text, | 71 void onDrawPosText(const void* text, |
72 size_t byteLength, | 72 size_t byteLength, |
73 const SkPoint pos[], | 73 const SkPoint pos[], |
74 const SkPaint& paint) override; | 74 const SkPaint& paint) override; |
75 void onDrawPosTextH(const void* text, | 75 void onDrawPosTextH(const void* text, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 141 |
142 DrawPictureMode fDrawPictureMode; | 142 DrawPictureMode fDrawPictureMode; |
143 size_t fApproxBytesUsedBySubPictures; | 143 size_t fApproxBytesUsedBySubPictures; |
144 SkRecord* fRecord; | 144 SkRecord* fRecord; |
145 SkAutoTDelete<SkDrawableList> fDrawableList; | 145 SkAutoTDelete<SkDrawableList> fDrawableList; |
146 | 146 |
147 SkMiniRecorder* fMiniRecorder; | 147 SkMiniRecorder* fMiniRecorder; |
148 }; | 148 }; |
149 | 149 |
150 #endif//SkRecorder_DEFINED | 150 #endif//SkRecorder_DEFINED |
OLD | NEW |