Canvas: added arc().

This commit is contained in:
Mátyás Mustoha 2015-02-18 15:26:49 +01:00
parent 7cd776b74f
commit c98bca6130
12 changed files with 19 additions and 47 deletions

View file

@ -1,5 +0,0 @@
[2d.path.arc.angle.1.html]
type: testharness
[arc() draws pi/2 .. -pi anticlockwise correctly]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arc.angle.2.html]
type: testharness
[arc() draws -3pi/2 .. -pi anticlockwise correctly]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arc.angle.3.html]
type: testharness
[arc() wraps angles mod 2pi when anticlockwise and end > start+2pi]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arc.angle.4.html]
type: testharness
[arc() draws a full circle when clockwise and end > start+2pi]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arc.angle.5.html]
type: testharness
[arc() wraps angles mod 2pi when clockwise and start > end+2pi]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arc.angle.6.html]
type: testharness
[arc() draws a full circle when anticlockwise and start > end+2pi]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arc.default.html]
type: testharness
[arc() with missing last argument defaults to clockwise]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arc.scale.1.html]
type: testharness
[Non-uniformly scaled arcs are the right shape]
expected: FAIL

View file

@ -7398,12 +7398,6 @@
[CanvasRenderingContext2D interface: calling rect(unrestricted double,unrestricted double,unrestricted double,unrestricted double) on document.createElement("canvas").getContext("2d") with too few arguments must throw TypeError]
expected: FAIL
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "arc" with the proper type (78)]
expected: FAIL
[CanvasRenderingContext2D interface: calling arc(unrestricted double,unrestricted double,unrestricted double,unrestricted double,unrestricted double,boolean) on document.createElement("canvas").getContext("2d") with too few arguments must throw TypeError]
expected: FAIL
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "ellipse" with the proper type (79)]
expected: FAIL