| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2016 Google Inc. | 3 * Copyright 2016 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 SkDeferredCanvas_DEFINED | 9 #ifndef SkDeferredCanvas_DEFINED |
| 10 #define SkDeferredCanvas_DEFINED | 10 #define SkDeferredCanvas_DEFINED |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 SkISize getBaseLayerSize() const override; | 28 SkISize getBaseLayerSize() const override; |
| 29 bool getClipBounds(SkRect* bounds) const override; | 29 bool getClipBounds(SkRect* bounds) const override; |
| 30 bool getClipDeviceBounds(SkIRect* bounds) const override; | 30 bool getClipDeviceBounds(SkIRect* bounds) const override; |
| 31 bool isClipEmpty() const override; | 31 bool isClipEmpty() const override; |
| 32 bool isClipRect() const override; | 32 bool isClipRect() const override; |
| 33 bool onPeekPixels(SkPixmap*) override; | 33 bool onPeekPixels(SkPixmap*) override; |
| 34 bool onAccessTopLayerPixels(SkPixmap*) override; | 34 bool onAccessTopLayerPixels(SkPixmap*) override; |
| 35 SkImageInfo onImageInfo() const override; | 35 SkImageInfo onImageInfo() const override; |
| 36 bool onGetProps(SkSurfaceProps*) const override; | 36 bool onGetProps(SkSurfaceProps*) const override; |
| 37 void onFlush() override; | 37 void onFlush() override; |
| 38 // SkCanvas* canvasForDrawIter() override; | |
| 39 | 38 |
| 40 void willSave() override; | 39 void willSave() override; |
| 41 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; | 40 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override; |
| 42 void willRestore() override; | 41 void willRestore() override; |
| 43 | 42 |
| 44 void didConcat(const SkMatrix&) override; | 43 void didConcat(const SkMatrix&) override; |
| 45 void didSetMatrix(const SkMatrix&) override; | 44 void didSetMatrix(const SkMatrix&) override; |
| 46 | 45 |
| 47 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; | 46 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; |
| 48 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, | 47 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS
calar y, |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 void flush_translate(SkScalar* x, SkScalar* y, const SkRect& bounds, const S
kPaint* = nullptr); | 148 void flush_translate(SkScalar* x, SkScalar* y, const SkRect& bounds, const S
kPaint* = nullptr); |
| 150 void flush_check(SkRect* bounds, const SkPaint*, unsigned flags = 0); | 149 void flush_check(SkRect* bounds, const SkPaint*, unsigned flags = 0); |
| 151 | 150 |
| 152 void internal_flush_translate(SkScalar* x, SkScalar* y, const SkRect* bounds
OrNull); | 151 void internal_flush_translate(SkScalar* x, SkScalar* y, const SkRect* bounds
OrNull); |
| 153 | 152 |
| 154 typedef SkCanvas INHERITED; | 153 typedef SkCanvas INHERITED; |
| 155 }; | 154 }; |
| 156 | 155 |
| 157 | 156 |
| 158 #endif | 157 #endif |
| OLD | NEW |