1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:47:34 +00:00

LibWeb: Implement CanvasRenderingContext2D.reset()

This commit is contained in:
Linus Groh 2021-12-27 14:33:36 +01:00 committed by Andreas Kling
parent 3e0e965f24
commit 2576af5db1
3 changed files with 33 additions and 0 deletions

View file

@ -71,6 +71,9 @@ public:
void save();
void restore();
void reset();
void reset_to_default_state();
HTMLCanvasElement* canvas() { return m_element; }