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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 virtual SkDrawFilter* setDrawFilter(SkDrawFilter*) SK_OVERRIDE; | 53 virtual SkDrawFilter* setDrawFilter(SkDrawFilter*) SK_OVERRIDE; |
54 | 54 |
55 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; | 55 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
56 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; | 56 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; |
57 virtual void endCommentGroup() SK_OVERRIDE; | 57 virtual void endCommentGroup() SK_OVERRIDE; |
58 | 58 |
59 protected: | 59 protected: |
60 SkTDArray<SkCanvas*> fList; | 60 SkTDArray<SkCanvas*> fList; |
61 | 61 |
62 virtual void willSave(SaveFlags) SK_OVERRIDE; | 62 virtual void willSave() SK_OVERRIDE; |
63 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF
lags) SK_OVERRIDE; | 63 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF
lags) SK_OVERRIDE; |
64 virtual void willRestore() SK_OVERRIDE; | 64 virtual void willRestore() SK_OVERRIDE; |
65 | 65 |
66 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; | 66 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; |
67 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; | 67 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; |
68 | 68 |
69 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; | 69 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK
_OVERRIDE; |
70 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, | 70 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, |
71 const SkPaint&) SK_OVERRIDE; | 71 const SkPaint&) SK_OVERRIDE; |
72 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], | 72 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin
t pos[], |
(...skipping 11 matching lines...) Expand all Loading... |
84 virtual void onDrawPicture(const SkPicture*) SK_OVERRIDE; | 84 virtual void onDrawPicture(const SkPicture*) SK_OVERRIDE; |
85 | 85 |
86 class Iter; | 86 class Iter; |
87 | 87 |
88 private: | 88 private: |
89 typedef SkCanvas INHERITED; | 89 typedef SkCanvas INHERITED; |
90 }; | 90 }; |
91 | 91 |
92 | 92 |
93 #endif | 93 #endif |
OLD | NEW |