mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibWeb: Add all overloads of CanvasRenderingContext2D::drawImage()
This commit is contained in:
parent
59e9e7cc61
commit
bc0fafade9
Notes:
sideshowbarker
2024-07-17 17:53:55 +09:00
Author: https://github.com/IdanHo
Commit: bc0fafade9
Pull-request: https://github.com/SerenityOS/serenity/pull/12891
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