Index: Source/core/html/canvas/CanvasRenderingContext2D.h |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h |
index 543754c82916c38cbbaa6252ddb950225510356e..d9bf238af38dde8674166e26f69ed3525ec8109c 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.h |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.h |
@@ -150,8 +150,11 @@ public: |
PassRefPtr<DOMPath> currentPath(); |
void setCurrentPath(DOMPath*); |
void fill(const String& winding = "nonzero"); |
+ void fill(DOMPath*, const String& winding = "nonzero"); |
void stroke(); |
+ void stroke(DOMPath*); |
void clip(const String& winding = "nonzero"); |
+ void clip(DOMPath*, const String& winding = "nonzero"); |
bool isPointInPath(const float x, const float y, const String& winding = "nonzero"); |
bool isPointInStroke(const float x, const float y); |
@@ -306,6 +309,10 @@ private: |
void applyStrokePattern(); |
void applyFillPattern(); |
+ void fillImpl(const Path&, const String& windingRuleString); |
+ void strokeImpl(const Path&); |
+ void clipImpl(const Path&, const String& windingRuleString); |
+ |
void drawTextInternal(const String& text, float x, float y, bool fill, float maxWidth = 0, bool useMaxWidth = false); |
const Font& accessFont(); |