1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:47:44 +00:00

LibWeb: Add spec comments to canvas context2d rect

This commit is contained in:
Bastiaan van der Plaat 2023-10-04 15:26:27 +02:00 committed by Andreas Kling
parent 573a2619a5
commit 9997d8f178
3 changed files with 17 additions and 8 deletions

View file

@ -24,7 +24,7 @@ public:
void quadratic_curve_to(float cx, float cy, float x, float y);
void bezier_curve_to(double cp1x, double cp1y, double cp2x, double cp2y, double x, double y);
WebIDL::ExceptionOr<void> arc_to(double x1, double y1, double x2, double y2, double radius);
void rect(float x, float y, float width, float height);
void rect(double x, double y, double w, double h);
WebIDL::ExceptionOr<void> arc(float x, float y, float radius, float start_angle, float end_angle, bool counter_clockwise);
WebIDL::ExceptionOr<void> ellipse(float x, float y, float radius_x, float radius_y, float rotation, float start_angle, float end_angle, bool counter_clockwise);