Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index 4853d35cef2c91b3f011553c331611a41af80c70..9761a082f1150c91f0d19814337fe7fd41cbcc58 100644 |
--- a/include/core/SkCanvas.h |
+++ b/include/core/SkCanvas.h |
@@ -1238,6 +1238,12 @@ public: |
const SkPaint* paint, |
SrcRectConstraint constraint = kStrict_SrcRectConstraint); |
+ // TEMP expose minimum amount of information necessary for transitional refactoring |
+ /** |
+ * Offsets matrix and clip from canvas coordinates to canvas top layer coordinates. |
+ */ |
+ void adjustToTopLayer(SkMatrix* matrix, SkIRect* clip_bounds); |
reed1
2016/05/17 23:19:10
1. temporary_private_adjustToTopLayer(...)
2. perh
|
+ |
protected: |
/** After calling saveLayer(), there can be any number of devices that make |
up the top-most drawing area. LayerIter can be used to iterate through |