diff options
Diffstat (limited to 'src/platform/graphics/web_canvas/Geometry.cpp')
-rw-r--r-- | src/platform/graphics/web_canvas/Geometry.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/platform/graphics/web_canvas/Geometry.cpp b/src/platform/graphics/web_canvas/Geometry.cpp new file mode 100644 index 00000000..eb4ce84e --- /dev/null +++ b/src/platform/graphics/web_canvas/Geometry.cpp @@ -0,0 +1,12 @@ +#include "cru/platform/graphics/web_canvas/WebCanvasGeometry.h" +#include "cru/platform/graphics/web_canvas/WebCanvasGraphicsFactory.h" +#include "cru/platform/graphics/web_canvas/WebCanvasResource.h" +#include "cru/platform/web/Js.h" + +namespace cru::platform::graphics::web_canvas { +WebCanvasGeometryBuilder::WebCanvasGeometryBuilder( + WebCanvasGraphicsFactory* factory) + : WebCanvasResource(factory) { + path2d_ = web::js::Construct("Path2D"); +} +} // namespace cru::platform::graphics::web_canvas |