#include <genesis/utils/formats/svg/shapes.hpp>
Definition at line 183 of file shapes.hpp.
Public Member Functions | |
SvgCircle (double cx, double cy, double radius, SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill()) | |
SvgCircle (SvgCircle &&)=default | |
SvgCircle (SvgCircle const &)=default | |
SvgCircle (SvgPoint const ¢er, double radius, SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill()) | |
~SvgCircle ()=default | |
SvgBox | bounding_box () const |
SvgCircle & | operator= (SvgCircle &&)=default |
SvgCircle & | operator= (SvgCircle const &)=default |
void | write (std::ostream &out, size_t indent=0, SvgDrawingOptions const &options=SvgDrawingOptions()) const |
Public Types | |
using | self_type = SvgCircle |
Public Attributes | |
SvgPoint | center |
SvgFill | fill |
std::string | id |
double | radius |
SvgStroke | stroke |
SvgTransform | transform |
SvgCircle | ( | SvgPoint const & | center, |
double | radius, | ||
SvgStroke const & | stroke = SvgStroke() , |
||
SvgFill const & | fill = SvgFill() |
||
) |
Definition at line 182 of file shapes.cpp.
SvgCircle | ( | double | cx, |
double | cy, | ||
double | radius, | ||
SvgStroke const & | stroke = SvgStroke() , |
||
SvgFill const & | fill = SvgFill() |
||
) |
Definition at line 194 of file shapes.cpp.
|
default |
SvgBox bounding_box | ( | ) | const |
Definition at line 207 of file shapes.cpp.
void write | ( | std::ostream & | out, |
size_t | indent = 0 , |
||
SvgDrawingOptions const & | options = SvgDrawingOptions() |
||
) | const |
Definition at line 217 of file shapes.cpp.
Definition at line 191 of file shapes.hpp.
SvgPoint center |
Definition at line 237 of file shapes.hpp.
SvgFill fill |
Definition at line 241 of file shapes.hpp.
std::string id |
Definition at line 235 of file shapes.hpp.
double radius |
Definition at line 238 of file shapes.hpp.
SvgStroke stroke |
Definition at line 240 of file shapes.hpp.
SvgTransform transform |
Definition at line 243 of file shapes.hpp.