Base class for anything that has attributes (e.g. SVG elements, CSS stylesheets)
More...
#include <svg.hpp>
Inherited by SVG::Element.
Base class for anything that has attributes (e.g. SVG elements, CSS stylesheets)
◆ set_attr() [1/3]
template<>
| AttributeMap & SVG::AttributeMap::set_attr |
( |
const std::string |
key, |
|
|
const char * |
value |
|
) |
| |
|
inline |
Modify the attribute specified by key
◆ set_attr() [2/3]
template<>
| AttributeMap & SVG::AttributeMap::set_attr |
( |
const std::string |
key, |
|
|
const double |
value |
|
) |
| |
|
inline |
Modify the attribute specified by key
◆ set_attr() [3/3]
template<>
| AttributeMap & SVG::AttributeMap::set_attr |
( |
const std::string |
key, |
|
|
const std::string |
value |
|
) |
| |
|
inline |
Modify the attribute specified by key
◆ set_attrs()
| AttributeMap & SVG::AttributeMap::set_attrs |
( |
std::initializer_list< std::pair< std::string, std::string > > |
values | ) |
|
|
inline |
Set multiple attributes at once
The documentation for this class was generated from the following file: