2 #ifndef GRAMODS_GRAPHICS_SAVEVIEW
3 #define GRAMODS_GRAPHICS_SAVEVIEW
6 #include <gmCore/io_size.hh>
8 #include <gmGraphics/View.hh>
10 BEGIN_NAMESPACE_GMGRAPHICS;
33 void traverse(
Visitor *visitor)
override;
55 void setFile(std::filesystem::path file);
70 void setUseFloat(
bool on);
82 void setUseAlpha(
bool on);
96 void setExit(
bool on);
103 void addView(std::shared_ptr<View> view);
110 std::unique_ptr<Impl> _impl;
114 END_NAMESPACE_GMGRAPHICS;
The SaveView is a view that saves the image generated by another view.
Definition: SaveView.hh:17
The base of graphics View implementations.
Definition: View.hh:13
std::array< size_t, 2 > size2
Array of 2 size_t.
Definition: io_size.hh:9
The visitor of a design pattern for automatic traversal.
Definition: Object.hh:75
Definition: SaveView.cpp:35
Package of settings affecting the rendering.
Definition: ViewBase.hh:30