OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 #ifndef SkDumpCanvas_DEFINED | 8 #ifndef SkDumpCanvas_DEFINED |
9 #define SkDumpCanvas_DEFINED | 9 #define SkDumpCanvas_DEFINED |
10 | 10 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 const SkPoint vertices[], const SkPoint texs[], | 94 const SkPoint vertices[], const SkPoint texs[], |
95 const SkColor colors[], SkXfermode* xmode, | 95 const SkColor colors[], SkXfermode* xmode, |
96 const uint16_t indices[], int indexCount, | 96 const uint16_t indices[], int indexCount, |
97 const SkPaint& paint) SK_OVERRIDE; | 97 const SkPaint& paint) SK_OVERRIDE; |
98 virtual void drawData(const void*, size_t) SK_OVERRIDE; | 98 virtual void drawData(const void*, size_t) SK_OVERRIDE; |
99 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; | 99 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
100 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; | 100 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; |
101 virtual void endCommentGroup() SK_OVERRIDE; | 101 virtual void endCommentGroup() SK_OVERRIDE; |
102 | 102 |
103 protected: | 103 protected: |
104 virtual void willSave(SaveFlags) SK_OVERRIDE; | 104 virtual void willSave() SK_OVERRIDE; |
105 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF
lags) SK_OVERRIDE; | 105 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF
lags) SK_OVERRIDE; |
106 virtual void willRestore() SK_OVERRIDE; | 106 virtual void willRestore() SK_OVERRIDE; |
107 | 107 |
108 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; | 108 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; |
109 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; | 109 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; |
110 | 110 |
111 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; | 111 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; |
112 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, | 112 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, |
113 const SkPaint&) SK_OVERRIDE; | 113 const SkPaint&) SK_OVERRIDE; |
114 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], | 114 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 public: | 163 public: |
164 SkDebugfDumper(); | 164 SkDebugfDumper(); |
165 | 165 |
166 private: | 166 private: |
167 typedef SkFormatDumper INHERITED; | 167 typedef SkFormatDumper INHERITED; |
168 }; | 168 }; |
169 | 169 |
170 #endif | 170 #endif |
171 | 171 |
172 #endif | 172 #endif |
OLD | NEW |