auto merge of #5185 : mmatyas/servo/canvas_arc, r=pcwalton

This patch enables the use of `arc()` on the canvas.
I couldn't add reftest this time, as it involves some antialiasing issues, and so the reference doesn't match.
This commit is contained in:
bors-servo 2015-03-10 09:45:49 -06:00
commit e8f1a046c6
12 changed files with 19 additions and 47 deletions

View file

@ -138,7 +138,7 @@ interface CanvasPathMethods {
//void rect(double x, double y, double w, double h);
//void arc(double x, double y, double radius, double startAngle, double endAngle, optional boolean anticlockwise = false);
void arc(double x, double y, double radius, double startAngle, double endAngle, optional boolean anticlockwise = false);
// NOT IMPLEMENTED [LenientFloat] void ellipse(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle, boolean anticlockwise);
};