mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
LibWeb: Implement the CanvasRenderingContext2D::rect path method
This method adds a rectangle to the current 2D path.
This commit is contained in:
parent
4c0937225e
commit
aab99d5945
5 changed files with 46 additions and 0 deletions
|
@ -15,6 +15,7 @@ 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 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