diff options
Diffstat (limited to 'include/cru/platform/graphics/web_canvas/WebCanvasRef.h')
-rw-r--r-- | include/cru/platform/graphics/web_canvas/WebCanvasRef.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cru/platform/graphics/web_canvas/WebCanvasRef.h b/include/cru/platform/graphics/web_canvas/WebCanvasRef.h index 4cb960bd..a5d4f395 100644 --- a/include/cru/platform/graphics/web_canvas/WebCanvasRef.h +++ b/include/cru/platform/graphics/web_canvas/WebCanvasRef.h @@ -18,6 +18,9 @@ namespace cru::platform::graphics::web_canvas { int GetWidth() const; int GetHeight() const; + void Save() const; + void Restore() const; + private: emscripten::val val_; }; |