OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef SkAndroidSDKCanvas_DEFINED | 8 #ifndef SkAndroidSDKCanvas_DEFINED |
9 #define SkAndroidSDKCanvas_DEFINED | 9 #define SkAndroidSDKCanvas_DEFINED |
10 | 10 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 bool isClipRect() const override; | 93 bool isClipRect() const override; |
94 sk_sp<SkSurface> onNewSurface(const SkImageInfo&, const SkSurfaceProps&) ove
rride; | 94 sk_sp<SkSurface> onNewSurface(const SkImageInfo&, const SkSurfaceProps&) ove
rride; |
95 bool onPeekPixels(SkPixmap*) override; | 95 bool onPeekPixels(SkPixmap*) override; |
96 bool onAccessTopLayerPixels(SkPixmap*) override; | 96 bool onAccessTopLayerPixels(SkPixmap*) override; |
97 void willSave() override; | 97 void willSave() override; |
98 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; | 98 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; |
99 void willRestore() override; | 99 void willRestore() override; |
100 void didRestore() override; | 100 void didRestore() override; |
101 void didConcat(const SkMatrix&) override; | 101 void didConcat(const SkMatrix&) override; |
102 void didSetMatrix(const SkMatrix&) override; | 102 void didSetMatrix(const SkMatrix&) override; |
103 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 103 void onClipRect(const SkRect&, ClipOp, ClipEdgeStyle) override; |
104 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 104 void onClipRRect(const SkRRect&, ClipOp, ClipEdgeStyle) override; |
105 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 105 void onClipPath(const SkPath&, ClipOp, ClipEdgeStyle) override; |
106 void onClipRegion(const SkRegion&, SkRegion::Op) override; | 106 void onClipRegion(const SkRegion&, ClipOp) override; |
107 void onDiscard() override; | 107 void onDiscard() override; |
108 | 108 |
109 protected: | 109 protected: |
110 SkCanvas* fProxyTarget; | 110 SkCanvas* fProxyTarget; |
111 }; | 111 }; |
112 | 112 |
113 #endif // SkAndroidSDKCanvas_DEFINED | 113 #endif // SkAndroidSDKCanvas_DEFINED |
OLD | NEW |