diff options
Diffstat (limited to 'src/core/SkCanvasPriv.h')
| -rw-r--r-- | src/core/SkCanvasPriv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/SkCanvasPriv.h b/src/core/SkCanvasPriv.h index 12d9fce027..e1eb02fd45 100644 --- a/src/core/SkCanvasPriv.h +++ b/src/core/SkCanvasPriv.h @@ -33,6 +33,14 @@ public: // return the byte-size of the lattice, even if the buffer is null // storage must be 4-byte aligned static size_t WriteLattice(void* storage, const SkCanvas::Lattice&); + + static int SaveBehind(SkCanvas* canvas, const SkRect* subset) { + return canvas->only_axis_aligned_saveBehind(subset); + } + + static void DrawBehind(SkCanvas* canvas, const SkPaint& paint) { + canvas->drawClippedToSaveBehind(paint); + } }; #endif |
