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

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

Issue 300223009: Implement basic parts of hit regions on canvas2d. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 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
Index: Source/platform/graphics/Path.h
diff --git a/Source/platform/graphics/Path.h b/Source/platform/graphics/Path.h
index 431f03d206cb85bf96fcece92237ce572b5482d4..7d360c7a1270263f04d4bc8716294a9b3df9f209 100644
--- a/Source/platform/graphics/Path.h
+++ b/Source/platform/graphics/Path.h
@@ -143,6 +143,8 @@ public:
void addPathForRoundedRect(const FloatRect&, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius);
void addBeziersForRoundedRect(const FloatRect&, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius);
+ bool subtractPath(const Path&);
+
// Updates the path to the union (inclusive-or) of itself with the given argument.
bool unionPath(const Path& other);

Powered by Google App Engine
This is Rietveld 408576698