#include <genesis/utils/formats/svg/attributes.hpp>
Definition at line 49 of file attributes.hpp.
Public Member Functions | |
SvgStroke (Color color, double width=1.0) | |
SvgStroke (std::string gradient_id) | |
SvgStroke (SvgStroke &&)=default | |
SvgStroke (SvgStroke const &)=default | |
SvgStroke (Type type=Type::kColor) | |
~SvgStroke ()=default | |
SvgStroke & | operator= (SvgStroke &&)=default |
SvgStroke & | operator= (SvgStroke const &)=default |
void | write (std::ostream &out) const |
Public Types | |
enum | LineCap { kOmit, kButt, kSquare, kRound } |
enum | LineJoin { kOmit, kMiter, kRound, kBevel } |
using | self_type = SvgStroke |
enum | Type { kColor, kGradient, kNone, kOmit } |
Public Attributes | |
Color | color |
std::vector< double > | dash_array |
double | dash_offset |
std::string | gradient_id |
LineCap | line_cap |
LineJoin | line_join |
double | miterlimit |
Type | type |
double | width |
std::string | width_unit |
|
explicit |
Definition at line 53 of file attributes.cpp.
Definition at line 65 of file attributes.cpp.
|
explicit |
Definition at line 72 of file attributes.cpp.
|
default |
void write | ( | std::ostream & | out | ) | const |
Definition at line 82 of file attributes.cpp.
Definition at line 57 of file attributes.hpp.
|
strong |
Enumerator | |
---|---|
kOmit | |
kButt | |
kSquare | |
kRound |
Definition at line 67 of file attributes.hpp.
|
strong |
Enumerator | |
---|---|
kOmit | |
kMiter | |
kRound | |
kBevel |
Definition at line 75 of file attributes.hpp.
|
strong |
Enumerator | |
---|---|
kColor | |
kGradient | |
kNone | |
kOmit |
Definition at line 59 of file attributes.hpp.
Color color |
Definition at line 113 of file attributes.hpp.
std::vector< double > dash_array |
Definition at line 122 of file attributes.hpp.
double dash_offset |
Definition at line 123 of file attributes.hpp.
std::string gradient_id |
Definition at line 111 of file attributes.hpp.
LineCap line_cap |
Definition at line 118 of file attributes.hpp.
LineJoin line_join |
Definition at line 119 of file attributes.hpp.
double miterlimit |
Definition at line 120 of file attributes.hpp.
Type type |
Definition at line 109 of file attributes.hpp.
double width |
Definition at line 115 of file attributes.hpp.
std::string width_unit |
Definition at line 116 of file attributes.hpp.