#include <genesis/utils/formats/svg/shapes.hpp>
Definition at line 112 of file shapes.hpp.
Public Member Functions | |
SvgRect (double x, double y, double w, double h, SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill()) | |
SvgRect (SvgPoint const &position, SvgSize const &size, SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill()) | |
SvgRect (SvgRect &&)=default | |
SvgRect (SvgRect const &)=default | |
~SvgRect ()=default | |
SvgBox | bounding_box () const |
SvgRect & | operator= (SvgRect &&)=default |
SvgRect & | operator= (SvgRect const &)=default |
void | write (std::ostream &out, size_t indent=0, SvgDrawingOptions const &options=SvgDrawingOptions()) const |
Public Types | |
using | self_type = SvgRect |
Public Attributes | |
SvgFill | fill |
std::string | id |
SvgPoint | position |
double | rx |
double | ry |
SvgSize | size |
SvgStroke | stroke |
SvgTransform | transform |
SvgRect | ( | SvgPoint const & | position, |
SvgSize const & | size, | ||
SvgStroke const & | stroke = SvgStroke() , |
||
SvgFill const & | fill = SvgFill() |
||
) |
Definition at line 117 of file shapes.cpp.
SvgRect | ( | double | x, |
double | y, | ||
double | w, | ||
double | h, | ||
SvgStroke const & | stroke = SvgStroke() , |
||
SvgFill const & | fill = SvgFill() |
||
) |
Definition at line 131 of file shapes.cpp.
|
default |
SvgBox bounding_box | ( | ) | const |
Definition at line 144 of file shapes.cpp.
void write | ( | std::ostream & | out, |
size_t | indent = 0 , |
||
SvgDrawingOptions const & | options = SvgDrawingOptions() |
||
) | const |
Definition at line 149 of file shapes.cpp.
Definition at line 120 of file shapes.hpp.
SvgFill fill |
Definition at line 170 of file shapes.hpp.
std::string id |
Definition at line 164 of file shapes.hpp.
SvgPoint position |
Definition at line 166 of file shapes.hpp.
double rx |
Definition at line 172 of file shapes.hpp.
double ry |
Definition at line 173 of file shapes.hpp.
SvgSize size |
Definition at line 167 of file shapes.hpp.
SvgStroke stroke |
Definition at line 169 of file shapes.hpp.
SvgTransform transform |
Definition at line 175 of file shapes.hpp.