Index: Source/core/html/canvas/CanvasRenderingContext2D.h |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h |
index bdf59141b43073c74451b7947e36a0f7577562ec..cc5d73cca0bb919a7568fe1c28a61d83313c981f 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.h |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.h |
@@ -151,8 +151,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); |
@@ -308,6 +311,10 @@ private: |
void applyStrokePattern(); |
void applyFillPattern(); |
+ void fillImpl(const Path&, const String& windingRuleString); |
Justin Novosad
2014/02/19 15:36:41
Blinkism nit: Impl->Internal
jcgregorio
2014/02/20 18:48:53
Done.
|
+ 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(); |