Add win32 mouse button events.

This commit is contained in:
jmsgrogan 2023-01-17 08:34:48 +00:00
parent 2bc53186bc
commit 78a4fa99ff
20 changed files with 141 additions and 53 deletions

View file

@ -41,9 +41,14 @@ public:
}
void writeSvg(const Path& path)
{
writeSvg(path, mSurface->getScene());
}
static void writeSvg(const Path& path, Scene* scene)
{
SvgConverter converter;
auto svg_document = converter.convert(mSurface->getScene());
auto svg_document = converter.convert(scene);
SvgWriter writer;
auto svg_content = writer.toString(svg_document.get());