Index: Source/core/html/canvas/CanvasRenderingContext2D.idl |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.idl b/Source/core/html/canvas/CanvasRenderingContext2D.idl |
index d99a6a07c70e63980e4b6f616949681725ca2627..2029e11791cc2c1c709748cdc3a2c2937447a1b0 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.idl |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.idl |
@@ -76,9 +76,16 @@ interface CanvasRenderingContext2D : CanvasRenderingContext { |
[RaisesException] void arc(float x, float y, float radius, float startAngle, float endAngle, [Default=Undefined] optional boolean anticlockwise); |
[RaisesException] void ellipse(float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, [Default=Undefined] optional boolean anticlockwise); |
- void fill(optional CanvasWindingRule winding); |
+ void fill(); |
+ void fill(CanvasWindingRule winding); |
+ [RuntimeEnabled=ExperimentalCanvasFeatures] void fill(Path path); |
+ [RuntimeEnabled=ExperimentalCanvasFeatures] void fill(Path path, CanvasWindingRule winding); |
void stroke(); |
- void clip(optional CanvasWindingRule winding); |
+ [RuntimeEnabled=ExperimentalCanvasFeatures] void stroke(Path path); |
+ void clip(); |
+ void clip(CanvasWindingRule winding); |
eseidel
2014/02/20 18:59:52
Some of these are redundant, presumably to work ar
jcgregorio
2014/02/20 19:28:30
Done.
|
+ [RuntimeEnabled=ExperimentalCanvasFeatures] void clip(Path path); |
+ [RuntimeEnabled=ExperimentalCanvasFeatures] void clip(Path path, CanvasWindingRule winding); |
boolean isPointInPath(float x, float y, optional CanvasWindingRule winding); |
boolean isPointInStroke(float x, float y); |