#include <genesis/utils/formats/svg/shapes.hpp>
Definition at line 456 of file shapes.hpp.
Public Member Functions | |
SvgPath (std::vector< std::string > const &elements, SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill()) | |
SvgPath (SvgPath &&)=default | |
SvgPath (SvgPath const &)=default | |
SvgPath (SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill()) | |
~SvgPath ()=default | |
self_type & | add (std::string elem) |
SvgBox | bounding_box () const |
self_type & | operator<< (std::string elem) |
SvgPath & | operator= (SvgPath &&)=default |
SvgPath & | operator= (SvgPath const &)=default |
void | write (std::ostream &out, size_t indent=0, SvgDrawingOptions const &options=SvgDrawingOptions()) const |
Public Types | |
using | self_type = SvgPath |
Public Attributes | |
std::vector< std::string > | elements |
SvgFill | fill |
std::string | id |
SvgStroke | stroke |
SvgTransform | transform |
Definition at line 477 of file shapes.cpp.
SvgPath | ( | std::vector< std::string > const & | elements, |
SvgStroke const & | stroke = SvgStroke() , |
||
SvgFill const & | fill = SvgFill() |
||
) |
Definition at line 485 of file shapes.cpp.
|
default |
SvgPath & add | ( | std::string | elem | ) |
Definition at line 499 of file shapes.cpp.
SvgBox bounding_box | ( | ) | const |
Definition at line 510 of file shapes.cpp.
SvgPath & operator<< | ( | std::string | elem | ) |
Definition at line 505 of file shapes.cpp.
void write | ( | std::ostream & | out, |
size_t | indent = 0 , |
||
SvgDrawingOptions const & | options = SvgDrawingOptions() |
||
) | const |
Definition at line 516 of file shapes.cpp.
Definition at line 464 of file shapes.hpp.
std::vector< std::string > elements |
Definition at line 511 of file shapes.hpp.
SvgFill fill |
Definition at line 514 of file shapes.hpp.
std::string id |
Definition at line 509 of file shapes.hpp.
SvgStroke stroke |
Definition at line 513 of file shapes.hpp.
SvgTransform transform |
Definition at line 516 of file shapes.hpp.