1 #ifndef GENESIS_UTILS_FORMATS_SVG_GROUP_H_
2 #define GENESIS_UTILS_FORMATS_SVG_GROUP_H_
127 #endif // include guard
std::vector< SvgObject > content_
void write(std::ostream &out, size_t indent=0, SvgDrawingOptions const &options=SvgDrawingOptions()) const
SvgBox bounding_box() const
Provides some valuable additions to STD.
SvgGroup & operator=(SvgGroup const &)=default
self_type & add(SvgObject const &object)
Add an SvgObject to the document.
std::string indent(std::string const &text, std::string const &indentation)
Indent each line of text with indentation and return the result.
self_type & reverse()
Reverse the order to the stored SvgObjects.
self_type & operator<<(SvgObject const &object)
Shortcut operator for add(), which allows an even more fluent interface.