| 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 | 8 |
| 9 #ifndef SkNWayCanvas_DEFINED | 9 #ifndef SkNWayCanvas_DEFINED |
| 10 #define SkNWayCanvas_DEFINED | 10 #define SkNWayCanvas_DEFINED |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 /////////////////////////////////////////////////////////////////////////// | 24 /////////////////////////////////////////////////////////////////////////// |
| 25 // These are forwarded to the N canvases we're referencing | 25 // These are forwarded to the N canvases we're referencing |
| 26 | 26 |
| 27 SkDrawFilter* setDrawFilter(SkDrawFilter*) override; | 27 SkDrawFilter* setDrawFilter(SkDrawFilter*) override; |
| 28 | 28 |
| 29 protected: | 29 protected: |
| 30 SkTDArray<SkCanvas*> fList; | 30 SkTDArray<SkCanvas*> fList; |
| 31 | 31 |
| 32 void willSave() override; | 32 void willSave() override; |
| 33 SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveFlags) ov
erride; | 33 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; |
| 34 void willRestore() override; | 34 void willRestore() override; |
| 35 | 35 |
| 36 void didConcat(const SkMatrix&) override; | 36 void didConcat(const SkMatrix&) override; |
| 37 void didSetMatrix(const SkMatrix&) override; | 37 void didSetMatrix(const SkMatrix&) override; |
| 38 | 38 |
| 39 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; | 39 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; |
| 40 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, | 40 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, |
| 41 const SkPaint&) override; | 41 const SkPaint&) override; |
| 42 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], | 42 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], |
| 43 const SkPaint&) override; | 43 const SkPaint&) override; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; | 79 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; |
| 80 | 80 |
| 81 class Iter; | 81 class Iter; |
| 82 | 82 |
| 83 private: | 83 private: |
| 84 typedef SkCanvas INHERITED; | 84 typedef SkCanvas INHERITED; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 | 87 |
| 88 #endif | 88 #endif |
| OLD | NEW |