mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
LibWeb: Add all overloads of CanvasRenderingContext2D::drawImage()
This commit is contained in:
parent
59e9e7cc61
commit
bc0fafade9
3 changed files with 58 additions and 7 deletions
|
@ -31,6 +31,8 @@ interface CanvasRenderingContext2D {
|
|||
undefined strokeText(DOMString text, double x, double y, optional double maxWidth);
|
||||
|
||||
undefined drawImage((HTMLImageElement or HTMLCanvasElement) image, double dx, double dy);
|
||||
undefined drawImage((HTMLImageElement or HTMLCanvasElement) image, double dx, double dy, double dw, double dh);
|
||||
undefined drawImage((HTMLImageElement or HTMLCanvasElement) image, double sx, double sy, double sw, double sh, double dx, double dy, double dw, double dh);
|
||||
|
||||
attribute DOMString fillStyle;
|
||||
attribute DOMString strokeStyle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue