aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graphics/web_canvas/WebCanvasMatrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/platform/graphics/web_canvas/WebCanvasMatrix.h')
-rw-r--r--include/cru/platform/graphics/web_canvas/WebCanvasMatrix.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/cru/platform/graphics/web_canvas/WebCanvasMatrix.h b/include/cru/platform/graphics/web_canvas/WebCanvasMatrix.h
new file mode 100644
index 00000000..428e0ae5
--- /dev/null
+++ b/include/cru/platform/graphics/web_canvas/WebCanvasMatrix.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include "../../Matrix.h"
+
+#include <emscripten/val.h>
+
+namespace cru::platform::graphics::web_canvas {
+emscripten::val CreateDomMatrix(const Matrix& matrix);
+}