aboutsummaryrefslogtreecommitdiff
path: root/src/core/SkCanvasPriv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkCanvasPriv.h')
-rw-r--r--src/core/SkCanvasPriv.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/SkCanvasPriv.h b/src/core/SkCanvasPriv.h
index cb2540177a..0c3a2d83ed 100644
--- a/src/core/SkCanvasPriv.h
+++ b/src/core/SkCanvasPriv.h
@@ -43,6 +43,16 @@ public:
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);
+ }
+
+ // The experimental_DrawEdgeAAImageSet API accepts separate dstClips and preViewMatrices arrays,
+ // where entries refer into them, but no explicit size is provided. Given a set of entries,
+ // computes the minimum length for these arrays that would provide index access errors.
+ static void GetDstClipAndMatrixCounts(const SkCanvas::ImageSetEntry set[], int count,
+ int* totalDstClipCount, int* totalMatrixCount);
};
#endif