| 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..223ea6f57cdbf673d544a2261e0d8d2eac4db534 100644
|
| --- a/Source/core/html/canvas/CanvasRenderingContext2D.idl
|
| +++ b/Source/core/html/canvas/CanvasRenderingContext2D.idl
|
| @@ -76,9 +76,18 @@ 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);
|
| + // FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed.
|
| + void fill();
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures] void fill(Path path);
|
| + void fill(CanvasWindingRule winding);
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures] void fill(Path path, CanvasWindingRule winding);
|
| void stroke();
|
| - void clip(optional CanvasWindingRule winding);
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures] void stroke(Path path);
|
| + // FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed.
|
| + void clip();
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures] void clip(Path path);
|
| + void clip(CanvasWindingRule winding);
|
| + [RuntimeEnabled=ExperimentalCanvasFeatures] void clip(Path path, CanvasWindingRule winding);
|
| boolean isPointInPath(float x, float y, optional CanvasWindingRule winding);
|
| boolean isPointInStroke(float x, float y);
|
|
|
|
|