#include <genesis/utils/formats/svg/shapes.hpp>
Definition at line 251 of file shapes.hpp.
Public Member Functions | |
SvgEllipse (double cx, double cy, double rx, double ry, SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill()) | |
SvgEllipse (SvgEllipse &&)=default | |
SvgEllipse (SvgEllipse const &)=default | |
SvgEllipse (SvgPoint const ¢er, double rx, double ry, SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill()) | |
~SvgEllipse ()=default | |
SvgBox | bounding_box () const |
SvgEllipse & | operator= (SvgEllipse &&)=default |
SvgEllipse & | operator= (SvgEllipse const &)=default |
void | write (std::ostream &out, size_t indent=0, SvgDrawingOptions const &options=SvgDrawingOptions()) const |
Public Types | |
using | self_type = SvgEllipse |
Public Attributes | |
SvgPoint | center |
SvgFill | fill |
std::string | id |
double | rx |
double | ry |
SvgStroke | stroke |
SvgTransform | transform |
SvgEllipse | ( | SvgPoint const & | center, |
double | rx, | ||
double | ry, | ||
SvgStroke const & | stroke = SvgStroke() , |
||
SvgFill const & | fill = SvgFill() |
||
) |
Definition at line 244 of file shapes.cpp.
SvgEllipse | ( | double | cx, |
double | cy, | ||
double | rx, | ||
double | ry, | ||
SvgStroke const & | stroke = SvgStroke() , |
||
SvgFill const & | fill = SvgFill() |
||
) |
Definition at line 257 of file shapes.cpp.
|
default |
|
default |
|
default |
SvgBox bounding_box | ( | ) | const |
Definition at line 270 of file shapes.cpp.
|
default |
|
default |
void write | ( | std::ostream & | out, |
size_t | indent = 0 , |
||
SvgDrawingOptions const & | options = SvgDrawingOptions() |
||
) | const |
Definition at line 279 of file shapes.cpp.
using self_type = SvgEllipse |
Definition at line 259 of file shapes.hpp.
SvgPoint center |
Definition at line 305 of file shapes.hpp.
SvgFill fill |
Definition at line 310 of file shapes.hpp.
std::string id |
Definition at line 303 of file shapes.hpp.
double rx |
Definition at line 306 of file shapes.hpp.
double ry |
Definition at line 307 of file shapes.hpp.
SvgStroke stroke |
Definition at line 309 of file shapes.hpp.
SvgTransform transform |
Definition at line 312 of file shapes.hpp.