mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
LibWeb: Add CanvasRenderingContext2D.drawImage(image, x, y)
This function allows you to draw a loaded <img> element into a canvas.
This commit is contained in:
parent
370befbf52
commit
067ea5a2e0
4 changed files with 47 additions and 0 deletions
|
@ -44,6 +44,7 @@ private:
|
|||
|
||||
static JS::Value fill_rect(JS::Interpreter&);
|
||||
static JS::Value stroke_rect(JS::Interpreter&);
|
||||
static JS::Value draw_image(JS::Interpreter&);
|
||||
static JS::Value scale(JS::Interpreter&);
|
||||
static JS::Value translate(JS::Interpreter&);
|
||||
static JS::Value fill_style_getter(JS::Interpreter&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue