Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: include/core/SkCanvas.h

Issue 1986383002: SkCanvas::adjustToTopLayer() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkCanvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698