#include <genesis/utils/formats/svg/shapes.hpp>
Definition at line 50 of file shapes.hpp.
Public Member Functions | |
SvgLine (double x1, double y1, double x2, double y2, SvgStroke const &stroke=SvgStroke()) | |
SvgLine (SvgLine &&)=default | |
SvgLine (SvgLine const &)=default | |
SvgLine (SvgPoint const &point_1, SvgPoint const &point_2, SvgStroke const &stroke=SvgStroke()) | |
~SvgLine ()=default | |
SvgBox | bounding_box () const |
SvgLine & | operator= (SvgLine &&)=default |
SvgLine & | operator= (SvgLine const &)=default |
void | write (std::ostream &out, size_t indent=0, SvgDrawingOptions const &options=SvgDrawingOptions()) const |
Public Types | |
using | self_type = SvgLine |
Public Attributes | |
std::string | id |
SvgPoint | point_1 |
SvgPoint | point_2 |
SvgStroke | stroke |
SvgTransform | transform |
SvgLine | ( | SvgPoint const & | point_1, |
SvgPoint const & | point_2, | ||
SvgStroke const & | stroke = SvgStroke() |
||
) |
Definition at line 57 of file shapes.cpp.
Definition at line 63 of file shapes.cpp.
|
default |
SvgBox bounding_box | ( | ) | const |
Definition at line 71 of file shapes.cpp.
void write | ( | std::ostream & | out, |
size_t | indent = 0 , |
||
SvgDrawingOptions const & | options = SvgDrawingOptions() |
||
) | const |
Definition at line 90 of file shapes.cpp.
Definition at line 58 of file shapes.hpp.
std::string id |
Definition at line 100 of file shapes.hpp.
SvgPoint point_1 |
Definition at line 101 of file shapes.hpp.
SvgPoint point_2 |
Definition at line 102 of file shapes.hpp.
SvgStroke stroke |
Definition at line 103 of file shapes.hpp.
SvgTransform transform |
Definition at line 104 of file shapes.hpp.