Index: Source/core/html/canvas/Path2D.idl |
diff --git a/Source/core/html/canvas/Path2D.idl b/Source/core/html/canvas/Path2D.idl |
index 624e4be3671f83a8eb2270538e143b2cee90272b..b67de6c8cff53721a25b460fd0882c475482be38 100644 |
--- a/Source/core/html/canvas/Path2D.idl |
+++ b/Source/core/html/canvas/Path2D.idl |
@@ -34,36 +34,6 @@ |
] interface Path2D { |
[RaisesException] void addPath(Path2D? path, SVGMatrix? transform); |
- |
- // FIXME: These methods should be shared with CanvasRenderingContext2D in the CanvasPathMethods interface. |
- void closePath(); |
- void moveTo([Default=Undefined] optional float x, |
eseidel
2014/03/14 16:12:11
So these are no longer optional after your change,
Justin Novosad
2014/03/14 18:00:41
Just to make sure you noticed: this interface is n
|
- [Default=Undefined] optional float y); |
- void lineTo([Default=Undefined] optional float x, |
- [Default=Undefined] optional float y); |
- void quadraticCurveTo([Default=Undefined] optional float cpx, |
- [Default=Undefined] optional float cpy, |
- [Default=Undefined] optional float x, |
- [Default=Undefined] optional float y); |
- void bezierCurveTo([Default=Undefined] optional float cp1x, |
- [Default=Undefined] optional float cp1y, |
- [Default=Undefined] optional float cp2x, |
- [Default=Undefined] optional float cp2y, |
- [Default=Undefined] optional float x, |
- [Default=Undefined] optional float y); |
- [RaisesException] void arcTo([Default=Undefined] optional float x1, |
- [Default=Undefined] optional float y1, |
- [Default=Undefined] optional float x2, |
- [Default=Undefined] optional float y2, |
- [Default=Undefined] optional float radius); |
- void rect([Default=Undefined] optional float x, |
- [Default=Undefined] optional float y, |
- [Default=Undefined] optional float width, |
- [Default=Undefined] optional float height); |
- [RaisesException] void arc([Default=Undefined] optional float x, |
- [Default=Undefined] optional float y, |
- [Default=Undefined] optional float radius, |
- [Default=Undefined] optional float startAngle, |
- [Default=Undefined] optional float endAngle, |
- [Default=Undefined] optional boolean anticlockwise); |
}; |
+ |
+Path2D implements CanvasPathMethods; |