LibWeb: Implement CanvasRenderingContext2D.reset()

This commit is contained in:
Linus Groh 2021-12-27 14:33:36 +01:00 committed by Andreas Kling
commit 2576af5db1
Notes: sideshowbarker 2024-07-17 22:07:23 +09:00
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; }