SVG for C++
Loading...
Searching...
No Matches
SVG::AttributeMap::AttrSetter Struct Reference

Public Member Functions

 AttrSetter (SVGAttrib::mapped_type &_attr, bool _normalize_class=false, std::function< void(const std::string &)> _on_update={})
AttrSetter & operator<< (const Color &value)
template<typename T>
AttrSetter & operator<< (T value)
template<>
AttributeMap::AttrSetter & operator<< (const char *value)
template<>
AttributeMap::AttrSetter & operator<< (const std::string value)

Member Function Documentation

◆ operator<<()

AttrSetter & SVG::AttributeMap::AttrSetter::operator<< ( const Color & value)
inline

Append a serialized color token to the attribute value.


The documentation for this struct was generated from the following file: