| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 typedef SkRefCnt INHERITED; | 66 typedef SkRefCnt INHERITED; |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 Dumper* getDumper() const { return fDumper; } | 69 Dumper* getDumper() const { return fDumper; } |
| 70 void setDumper(Dumper*); | 70 void setDumper(Dumper*); |
| 71 | 71 |
| 72 int getNestLevel() const { return fNestLevel; } | 72 int getNestLevel() const { return fNestLevel; } |
| 73 | 73 |
| 74 protected: | 74 protected: |
| 75 void willSave() override; | 75 void willSave() override; |
| 76 SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveFlags) ov
erride; | 76 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; |
| 77 void willRestore() override; | 77 void willRestore() override; |
| 78 | 78 |
| 79 void didConcat(const SkMatrix&) override; | 79 void didConcat(const SkMatrix&) override; |
| 80 void didSetMatrix(const SkMatrix&) override; | 80 void didSetMatrix(const SkMatrix&) override; |
| 81 | 81 |
| 82 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; | 82 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; |
| 83 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, | 83 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, |
| 84 const SkPaint&) override; | 84 const SkPaint&) override; |
| 85 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], | 85 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], |
| 86 const SkPaint&) override; | 86 const SkPaint&) override; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 public: | 157 public: |
| 158 SkDebugfDumper(); | 158 SkDebugfDumper(); |
| 159 | 159 |
| 160 private: | 160 private: |
| 161 typedef SkFormatDumper INHERITED; | 161 typedef SkFormatDumper INHERITED; |
| 162 }; | 162 }; |
| 163 | 163 |
| 164 #endif | 164 #endif |
| 165 | 165 |
| 166 #endif | 166 #endif |
| OLD | NEW |