Canvas: added arcTo() support.

This commit is contained in:
Mátyás Mustoha 2015-03-26 16:43:34 +01:00
parent ba0d28e002
commit 56303e21cc
20 changed files with 81 additions and 76 deletions

View file

@ -1,5 +0,0 @@
[2d.path.arcTo.coincide.2.html]
type: testharness
[arcTo() draws a straight line to P1 if P1 = P2]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arcTo.collinear.1.html]
type: testharness
[arcTo() with all points on a line, and P1 between P0/P2, draws a straight line to P1]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arcTo.collinear.2.html]
type: testharness
[arcTo() with all points on a line, and P2 between P0/P1, draws a straight line to P1]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arcTo.collinear.3.html]
type: testharness
[arcTo() with all points on a line, and P0 between P1/P2, draws a straight line to P1]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arcTo.ensuresubpath.1.html]
type: testharness
[If there is no subpath, the first control point is added (and nothing is drawn up to it)]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arcTo.ensuresubpath.2.html]
type: testharness
[If there is no subpath, the first control point is added]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arcTo.negative.html]
type: testharness
[arcTo() with negative radius throws an exception]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arcTo.nonfinite.html]
type: testharness
[arcTo() with Infinity/NaN is ignored]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arcTo.shape.end.html]
type: testharness
[arcTo() does not draw anything from P1 to P2]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arcTo.zero.1.html]
type: testharness
[arcTo() with zero radius draws a straight line from P0 to P1]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.arcTo.zero.2.html]
type: testharness
[arcTo() with zero radius draws a straight line from P0 to P1, even when all points are collinear]
expected: FAIL

View file

@ -1,5 +0,0 @@
[2d.path.stroke.prune.arc.html]
type: testharness
[Zero-length line segments from arcTo and arc are removed before stroking]
expected: FAIL