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

Unified Diff: Source/platform/graphics/Pattern.h

Issue 652243002: Hoist paint-server transform adaption out of preparePaintServer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
Index: Source/platform/graphics/Pattern.h
diff --git a/Source/platform/graphics/Pattern.h b/Source/platform/graphics/Pattern.h
index 8d21b53273f0830875fb48b96496d3078ed4711b..2aa2cde64ca8774a844debc49df1659f764088fa 100644
--- a/Source/platform/graphics/Pattern.h
+++ b/Source/platform/graphics/Pattern.h
@@ -58,6 +58,7 @@ public:
SkShader* shader();
void setPatternSpaceTransform(const AffineTransform& patternSpaceTransformation);
+ const AffineTransform& patternSpaceTransform() const { return m_patternSpaceTransformation; }
bool isRepeatX() { return m_repeatMode & RepeatModeX; }
bool isRepeatY() { return m_repeatMode & RepeatModeY; }

Powered by Google App Engine
This is Rietveld 408576698