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

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

Issue 170503002: Implement addPath() method for Path object (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/Path.h
diff --git a/Source/platform/graphics/Path.h b/Source/platform/graphics/Path.h
index 1970b97d500acbfe4b0dda535631c36f5c7d9ac0..150100dd450de3c6bde08561ed13c88ca15ead4d 100644
--- a/Source/platform/graphics/Path.h
+++ b/Source/platform/graphics/Path.h
@@ -111,6 +111,8 @@ public:
void addRoundedRect(const FloatRect&, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius);
void addRoundedRect(const RoundedRect&);
+ void addPath(const Path&, const AffineTransform&);
+
void translate(const FloatSize&);
const SkPath& skPath() const { return m_path; }

Powered by Google App Engine
This is Rietveld 408576698