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 SkProxyCanvas_DEFINED | 8 #ifndef SkProxyCanvas_DEFINED |
9 #define SkProxyCanvas_DEFINED | 9 #define SkProxyCanvas_DEFINED |
10 | 10 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 const SkPoint vertices[], const SkPoint texs[], | 47 const SkPoint vertices[], const SkPoint texs[], |
48 const SkColor colors[], SkXfermode* xmode, | 48 const SkColor colors[], SkXfermode* xmode, |
49 const uint16_t indices[], int indexCount, | 49 const uint16_t indices[], int indexCount, |
50 const SkPaint& paint) SK_OVERRIDE; | 50 const SkPaint& paint) SK_OVERRIDE; |
51 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; | 51 virtual void drawData(const void* data, size_t length) SK_OVERRIDE; |
52 | 52 |
53 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; | 53 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
54 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; | 54 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; |
55 virtual void endCommentGroup() SK_OVERRIDE; | 55 virtual void endCommentGroup() SK_OVERRIDE; |
56 | 56 |
57 virtual SkBounder* setBounder(SkBounder* bounder) SK_OVERRIDE; | |
58 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; | 57 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; |
59 | 58 |
60 protected: | 59 protected: |
61 virtual void willSave(SaveFlags) SK_OVERRIDE; | 60 virtual void willSave(SaveFlags) SK_OVERRIDE; |
62 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF
lags) SK_OVERRIDE; | 61 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF
lags) SK_OVERRIDE; |
63 virtual void willRestore() SK_OVERRIDE; | 62 virtual void willRestore() SK_OVERRIDE; |
64 | 63 |
65 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; | 64 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; |
66 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; | 65 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; |
67 | 66 |
(...skipping 12 matching lines...) Expand all Loading... |
80 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; | 79 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR
IDE; |
81 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; | 80 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; |
82 | 81 |
83 private: | 82 private: |
84 SkCanvas* fProxy; | 83 SkCanvas* fProxy; |
85 | 84 |
86 typedef SkCanvas INHERITED; | 85 typedef SkCanvas INHERITED; |
87 }; | 86 }; |
88 | 87 |
89 #endif | 88 #endif |
OLD | NEW |