|
|
| Text (double x, double y, std::string _content) |
| |
|
| Text (std::pair< double, double > xy, std::string _content) |
| |
|
| Element ()=default |
| |
|
| Element (const Element &other)=delete |
| |
|
| Element (Element &&other)=default |
| |
|
| Element (const char *id) |
| |
|
| Element (const Element &other)=delete |
| |
|
| Element (Element &&other)=default |
| |
|
Element & | operator= (const Element &)=delete |
| |
|
Element & | operator= (Element &&other)=default |
| |
|
| Element (const char *id) |
| |
|
| operator std::string () |
| |
| template<typename T , typename... Args> |
| T * | add_child (Args &&... args) |
| |
| template<typename T > |
| Element & | operator<< (T &&node) |
| |
| template<typename T > |
| std::vector< T * > | get_children () |
| |
| template<typename T > |
| std::vector< T * > | get_immediate_children () |
| |
| Element * | get_element_by_id (const std::string &id) |
| |
| std::vector< Element * > | get_elements_by_class (const std::string &clsname) |
| |
| void | autoscale (const Margins &margins=DEFAULT_MARGINS) |
| |
| void | autoscale (const double margin) |
| |
| virtual BoundingBox | get_bbox () |
| |
| ChildMap | get_children () |
| |
| template<> |
| Element::ChildList | get_immediate_children () |
| |
|
| AttributeMap ()=default |
| |
|
| AttributeMap (SVGAttrib _attr) |
| |
|
| AttributeMap (SVGAttrib _attr) |
| |
|
template<typename T > |
| AttributeMap & | set_attr (const std::string key, T value) |
| |
| AttributeMap & | set_attrs (std::initializer_list< std::pair< std::string, std::string > > values) |
| |
|
AttrSetter | set_attr (const std::string key) |
| |
|
ClassList | class_list () |
| |
|
ClassList | class_list () const |
| |
| template<> |
| AttributeMap & | set_attr (const std::string key, const double value) |
| |
| template<> |
| AttributeMap & | set_attr (const std::string key, const char *value) |
| |
| template<> |
| AttributeMap & | set_attr (const std::string key, const std::string value) |
| |