mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
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:
commit
e8f1a046c6
12 changed files with 19 additions and 47 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue