mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +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
|
@ -74,6 +74,9 @@ public:
|
|||
void move_to(float x, float y);
|
||||
void line_to(float x, float y);
|
||||
void quadratic_curve_to(float cx, float cy, float x, float y);
|
||||
|
||||
void arc(float x, float y, float radius, float start_angle, float end_angle, bool counter_clockwise);
|
||||
void ellipse(float x, float y, float radius_x, float radius_y, float rotation, float start_angle, float end_angle, bool counter_clockwise);
|
||||
void rect(float x, float y, float width, float height);
|
||||
void stroke();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue