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

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
« no previous file with comments | « Source/core/html/canvas/Path.idl ('k') | Source/platform/graphics/Path.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/Path.h
diff --git a/Source/platform/graphics/Path.h b/Source/platform/graphics/Path.h
index 3ed72b952d0c53303bade41e88e09209bdebf42e..431f03d206cb85bf96fcece92237ce572b5482d4 100644
--- a/Source/platform/graphics/Path.h
+++ b/Source/platform/graphics/Path.h
@@ -131,6 +131,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; }
« no previous file with comments | « Source/core/html/canvas/Path.idl ('k') | Source/platform/graphics/Path.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698