![]() |
VPTissue Reference Manual
|
Functions and data for PDF export of Sim objects. More...
#include <VectorGraphicsExporter.h>

Static Public Member Functions | |
| static bool | Export (std::shared_ptr< SimPT_Sim::SimInterface > sim, std::string const &file_path, bool overwrite=true, std::shared_ptr< VectorGraphicsPreferences > prefs=std::make_shared< VectorGraphicsPreferences >()) |
| Export snapshot of canvas in PNG format. More... | |
| static std::string | GetFileExtension () |
| File extension associated with this export format. More... | |
Functions and data for PDF export of Sim objects.
Definition at line 38 of file VectorGraphicsExporter.h.
|
static |
Export snapshot of canvas in PNG format.
| e | Event containing canvas to render. |
| path | Path where to save image. |
| overwrite | Whether to overwrite if path already exists. |
| size_x | Image width |
| size_y | Image height |
Definition at line 50 of file VectorGraphicsExporter.cpp.
References SimPT_Shell::MeshDrawer::Draw().
Referenced by SimPT_Shell::Session::SimSession::GetExporters().


|
static |
File extension associated with this export format.
Definition at line 103 of file VectorGraphicsExporter.cpp.