28 void VectorFormat::Convert(
const SimState& s)
30 auto sim = make_shared<SimPT_Sim::Sim>();
32 auto prefs = make_shared<VectorGraphicsPreferences>();
33 prefs->Update({m_prefs->GetChild(
"viewers.bitmap_graphics")});
34 prefs->m_format = m_format;
35 VectorGraphicsExporter::Export(sim, GeneratePath(s),
true, prefs);
Namespace for SimPT shell package.
Wrapper around workspace to have read and write access to merged (workspace + project) preferences...
Namespace for the core simulator.
Contains the state of the whole Simulator at a given simulation step.
Interface of vector graphics onverter format.