Initial sketch for plugins.
This commit is contained in:
parent
b101a5f87c
commit
ab3ffc77dc
16 changed files with 96 additions and 6 deletions
|
@ -14,9 +14,9 @@
|
|||
TEST_CASE(TestSvgConverter, "[publishing]")
|
||||
{
|
||||
Scene scene;
|
||||
scene.setShowMeshOutline(true);
|
||||
//scene.setShowMeshOutline(true);
|
||||
|
||||
CircleNode circle({10, 10}, 20);
|
||||
CircleNode circle({40, 40}, 20);
|
||||
circle.setFillColor({255, 0, 0});
|
||||
scene.addNode(&circle);
|
||||
|
||||
|
@ -26,7 +26,7 @@ TEST_CASE(TestSvgConverter, "[publishing]")
|
|||
|
||||
SvgConverter converter;
|
||||
auto svg_document = converter.convert(&scene);
|
||||
svg_document->setViewBox(0, 0, 100, 100);
|
||||
svg_document->setViewBox(0, 0, 200, 200);
|
||||
|
||||
SvgWriter writer;
|
||||
auto content = writer.toString(svg_document.get());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue