Index: Source/core/html/canvas/CanvasRenderingContext2D.h |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h |
index 90b1fc7ea51ce52be4d1826e089b2c00cf38057f..baedc4904af3800c8d3e9f220bf94eaa8521445f 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.h |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.h |
@@ -148,8 +148,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); |
@@ -302,6 +305,10 @@ private: |
void applyStrokePattern(); |
void applyFillPattern(); |
+ void fillInternal(const Path&, const String& windingRuleString); |
+ void strokeInternal(const Path&); |
+ void clipInternal(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(); |