| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 void onDrawDrawable(SkDrawable*, const SkMatrix*) override; | 84 void onDrawDrawable(SkDrawable*, const SkMatrix*) override; |
| 85 SkISize getBaseLayerSize() const override; | 85 SkISize getBaseLayerSize() const override; |
| 86 bool getClipBounds(SkRect*) const override; | 86 bool getClipBounds(SkRect*) const override; |
| 87 bool getClipDeviceBounds(SkIRect*) const override; | 87 bool getClipDeviceBounds(SkIRect*) const override; |
| 88 bool isClipEmpty() const override; | 88 bool isClipEmpty() const override; |
| 89 bool isClipRect() const override; | 89 bool isClipRect() const override; |
| 90 SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override; | 90 SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override; |
| 91 bool onPeekPixels(SkPixmap*) override; | 91 bool onPeekPixels(SkPixmap*) override; |
| 92 bool onAccessTopLayerPixels(SkPixmap*) override; | 92 bool onAccessTopLayerPixels(SkPixmap*) override; |
| 93 void willSave() override; | 93 void willSave() override; |
| 94 SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveFlags) ov
erride; | 94 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; |
| 95 void willRestore() override; | 95 void willRestore() override; |
| 96 void didRestore() override; | 96 void didRestore() override; |
| 97 void didConcat(const SkMatrix&) override; | 97 void didConcat(const SkMatrix&) override; |
| 98 void didSetMatrix(const SkMatrix&) override; | 98 void didSetMatrix(const SkMatrix&) override; |
| 99 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 99 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
| 100 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 100 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
| 101 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 101 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
| 102 void onClipRegion(const SkRegion&, SkRegion::Op) override; | 102 void onClipRegion(const SkRegion&, SkRegion::Op) override; |
| 103 void onDiscard() override; | 103 void onDiscard() override; |
| 104 | 104 |
| 105 protected: | 105 protected: |
| 106 SkCanvas* fProxyTarget; | 106 SkCanvas* fProxyTarget; |
| 107 }; | 107 }; |
| 108 | 108 |
| 109 #endif // SkAndroidSDKCanvas_DEFINED | 109 #endif // SkAndroidSDKCanvas_DEFINED |
| 110 | 110 |
| OLD | NEW |