#include <genesis/utils/formats/svg/attributes.hpp>
Definition at line 131 of file attributes.hpp.
Public Member Functions | |
| SvgFill (Color color) | |
| SvgFill (std::string gradient_id) | |
| SvgFill (SvgFill &&)=default | |
| SvgFill (SvgFill const &)=default | |
| SvgFill (Type type=Type::kColor) | |
| ~SvgFill ()=default | |
| SvgFill & | operator= (SvgFill &&)=default |
| SvgFill & | operator= (SvgFill const &)=default |
| void | write (std::ostream &out) const |
Public Types | |
| enum | Rule { kNone, kNonZero, kEvenOdd } |
| using | self_type = SvgFill |
| enum | Type { kColor, kGradient, kNone, kOmit } |
Public Attributes | |
| Color | color |
| std::string | gradient_id |
| Rule | rule |
| Type | type |
|
explicit |
Definition at line 144 of file attributes.cpp.
Definition at line 150 of file attributes.cpp.
|
explicit |
Definition at line 156 of file attributes.cpp.
|
default |
| void write | ( | std::ostream & | out | ) | const |
Definition at line 166 of file attributes.cpp.
Definition at line 139 of file attributes.hpp.
|
strong |
| Enumerator | |
|---|---|
| kNone | |
| kNonZero | |
| kEvenOdd | |
Definition at line 149 of file attributes.hpp.
|
strong |
| Enumerator | |
|---|---|
| kColor | |
| kGradient | |
| kNone | |
| kOmit | |
Definition at line 141 of file attributes.hpp.
| Color color |
Definition at line 186 of file attributes.hpp.
| std::string gradient_id |
Definition at line 184 of file attributes.hpp.
| Rule rule |
Definition at line 187 of file attributes.hpp.
| Type type |
Definition at line 182 of file attributes.hpp.