1 #ifndef GENESIS_UTILS_FORMATS_SVG_DOCUMENT_H_ 2 #define GENESIS_UTILS_FORMATS_SVG_DOCUMENT_H_ 89 void write( std::ostream& out )
const;
111 static std::string overflow_to_string(
Overflow value );
122 std::vector< SvgDefinitions >
defs;
126 std::vector< SvgObject > content_;
133 #endif // include guard
std::vector< SvgDefinitions > defs
Container namespace for all symbols of genesis in order to keep them separate when used as a library...
void write(std::ostream &out) const
Write the SvgDocument to an output stream.
SvgDocument & operator=(SvgDocument const &)=default
self_type & add(SvgObject const &object)
Add an SvgObject to the document.
self_type & operator<<(SvgObject const &object)
Shortcut operator for add(), which allows an even more fluent interface.
static std::string indentation_string
SvgBox bounding_box() const