#include <genesis/utils/formats/svg/shapes.hpp>
Definition at line 320 of file shapes.hpp.
Public Member Functions | |
SvgPolyline (std::vector< SvgPoint > points, SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill()) | |
SvgPolyline (SvgPolyline &&)=default | |
SvgPolyline (SvgPolyline const &)=default | |
SvgPolyline (SvgStroke const &stroke=SvgStroke(), SvgFill const &fill=SvgFill()) | |
~SvgPolyline ()=default | |
self_type & | add (double x, double y) |
self_type & | add (SvgPoint p) |
SvgBox | bounding_box () const |
self_type & | operator<< (SvgPoint p) |
SvgPolyline & | operator= (SvgPolyline &&)=default |
SvgPolyline & | operator= (SvgPolyline const &)=default |
void | write (std::ostream &out, size_t indent=0, SvgDrawingOptions const &options=SvgDrawingOptions()) const |
Public Types | |
using | self_type = SvgPolyline |
Public Attributes | |
SvgFill | fill |
std::string | id |
std::vector< SvgPoint > | points |
SvgStroke | stroke |
SvgTransform | transform |
SvgPolyline | ( | SvgStroke const & | stroke = SvgStroke() , |
SvgFill const & | fill = SvgFill() |
||
) |
Definition at line 307 of file shapes.cpp.
SvgPolyline | ( | std::vector< SvgPoint > | points, |
SvgStroke const & | stroke = SvgStroke() , |
||
SvgFill const & | fill = SvgFill() |
||
) |
Definition at line 315 of file shapes.cpp.
|
default |
|
default |
|
default |
SvgPolyline & add | ( | double | x, |
double | y | ||
) |
Definition at line 329 of file shapes.cpp.
SvgPolyline & add | ( | SvgPoint | p | ) |
Definition at line 334 of file shapes.cpp.
SvgBox bounding_box | ( | ) | const |
Definition at line 345 of file shapes.cpp.
SvgPolyline & operator<< | ( | SvgPoint | p | ) |
Definition at line 340 of file shapes.cpp.
|
default |
|
default |
void write | ( | std::ostream & | out, |
size_t | indent = 0 , |
||
SvgDrawingOptions const & | options = SvgDrawingOptions() |
||
) | const |
Definition at line 350 of file shapes.cpp.
using self_type = SvgPolyline |
Definition at line 328 of file shapes.hpp.
SvgFill fill |
Definition at line 379 of file shapes.hpp.
std::string id |
Definition at line 374 of file shapes.hpp.
std::vector< SvgPoint > points |
Definition at line 376 of file shapes.hpp.
SvgStroke stroke |
Definition at line 378 of file shapes.hpp.
SvgTransform transform |
Definition at line 381 of file shapes.hpp.