1 #ifndef VIEW_BITMAP_GRAPHICS_EXPORTER_H_INCLUDED
2 #define VIEW_BITMAP_GRAPHICS_EXPORTER_H_INCLUDED
22 #include "../../cpp_simptshell/exporters/common/BitmapGraphicsPreferences.h"
51 std::shared_ptr<SimPT_Sim::Sim> sim,
52 std::string
const& file_path,
53 bool overwrite =
true,
54 std::shared_ptr<BitmapGraphicsPreferences> prefs = std::make_shared<BitmapGraphicsPreferences>());
Collection of functions and data concerning PNG export of Sim objects.
static bool Export(std::shared_ptr< SimPT_Sim::Sim > sim, std::string const &file_path, bool overwrite=true, std::shared_ptr< BitmapGraphicsPreferences > prefs=std::make_shared< BitmapGraphicsPreferences >())
Export snapshot of canvas in PNG format.
Namespace for SimPT shell package.
Namespace for the core simulator.