Index: Source/core/html/canvas/CanvasRenderingContext2D.h |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h |
index 088158f9437a44daa963d36464415d22ec0a6abd..207338e3c15a3d8988fcda0f5b846b9bdfe5b537 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.h |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.h |
@@ -157,7 +157,10 @@ public: |
void clip(DOMPath*, const String& winding, ExceptionState&); |
bool isPointInPath(const float x, const float y, const String& winding = "nonzero"); |
+ bool isPointInPath(DOMPath*, const float x, const float y, ExceptionState&); |
+ bool isPointInPath(DOMPath*, const float x, const float y, const String& winding, ExceptionState&); |
bool isPointInStroke(const float x, const float y); |
+ bool isPointInStroke(DOMPath*, const float x, const float y, ExceptionState&); |
void clearRect(float x, float y, float width, float height); |
void fillRect(float x, float y, float width, float height); |
@@ -311,6 +314,9 @@ private: |
void strokeInternal(const Path&); |
void clipInternal(const Path&, const String& windingRuleString); |
+ bool isPointInPathInternal(const Path&, const float x, const float y, const String& windingRuleString); |
+ bool isPointInStrokeInternal(const Path&, const float x, const float y); |
+ |
void drawTextInternal(const String& text, float x, float y, bool fill, float maxWidth = 0, bool useMaxWidth = false); |
const Font& accessFont(); |