1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:37:34 +00:00

LibWeb: Add CanvasRenderingContext2D scale() and translate() stubs

These don't do anything for now.
This commit is contained in:
Andreas Kling 2020-04-04 23:54:58 +02:00
parent 2db8716a6f
commit 9d099835f9
4 changed files with 48 additions and 0 deletions

View file

@ -43,6 +43,8 @@ private:
virtual const char* class_name() const override { return "CanvasRenderingContext2DWrapper"; }
static JS::Value fill_rect(JS::Interpreter&);
static JS::Value scale(JS::Interpreter&);
static JS::Value translate(JS::Interpreter&);
static JS::Value fill_style_getter(JS::Interpreter&);
static void fill_style_setter(JS::Interpreter&, JS::Value);