#include <genesis/utils/formats/svg/group.hpp>
Public Member Functions | |
SvgGroup ()=default | |
SvgGroup (SvgGroup const &)=default | |
SvgGroup (SvgGroup &&)=default | |
~SvgGroup ()=default | |
self_type & | add (SvgObject const &object) |
Add an SvgObject to the document. More... | |
self_type & | add (SvgObject &&object) |
SvgBox | bounding_box () const |
void | clear () |
bool | empty () const |
self_type & | operator<< (SvgObject const &object) |
Shortcut operator for add(), which allows an even more fluent interface. More... | |
self_type & | operator<< (SvgObject &&object) |
SvgGroup & | operator= (SvgGroup const &)=default |
SvgGroup & | operator= (SvgGroup &&)=default |
self_type & | reverse () |
Reverse the order to the stored SvgObjects. More... | |
void | write (std::ostream &out, size_t indent=0, SvgDrawingOptions const &options=SvgDrawingOptions()) const |
Public Types | |
using | self_type = SvgGroup |
Public Attributes | |
std::vector< SvgObject > | content_ |
std::string | id |
SvgTransform | transform |
|
default |
|
default |
Add an SvgObject to the document.
Returns the SvgDocument in order to allow for a fluent interface.
SvgGroup & reverse | ( | ) |
void write | ( | std::ostream & | out, |
size_t | indent = 0 , |
||
SvgDrawingOptions const & | options = SvgDrawingOptions() |
||
) | const |
SvgTransform transform |