mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 11:58:13 +00:00
LibGfx+LibWeb: Wire up CanvasRenderingContext2D.ellipse()
Note that this is *extremely* naive, and not very good at being correct.
This commit is contained in:
parent
6c05d6d370
commit
801daf47f0
6 changed files with 104 additions and 12 deletions
|
@ -15,6 +15,9 @@ interface CanvasRenderingContext2D {
|
|||
undefined moveTo(double x, double y);
|
||||
undefined lineTo(double x, double y);
|
||||
undefined quadraticCurveTo(double cpx, double cpy, double x, double y);
|
||||
|
||||
undefined arc(double x, double y, double radius, double startAngle, double endAngle, optional boolean counterclockwise = false);
|
||||
undefined ellipse(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle, optional boolean counterclockwise = false);
|
||||
undefined rect(double x, double y, double width, double height);
|
||||
|
||||
undefined drawImage(HTMLImageElement image, double dx, double dy);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue