Inkscape
Vector Graphics Editor
|
Close Path instruction. More...
#include <path-description.h>
Public Member Functions | |
PathDescrClose () | |
void | dumpSVG (Inkscape::SVGOStringStream &s, Geom::Point const &last) const override |
A virtual function that derived classes will implement. | |
PathDescr * | clone () const override |
A virtual function that derived classes will implement. | |
![]() | |
PathDescr () | |
PathDescr (int f) | |
virtual | ~PathDescr ()=default |
int | getType () const |
void | setType (int t) |
virtual void | dump (std::ostream &) const |
A virtual function that derived classes will implement. | |
Public Attributes | |
Geom::Point | p |
![]() | |
int | flags |
int | associated |
double | tSt |
double | tEn |
Close Path instruction.
Definition at line 189 of file path-description.h.
|
inline |
Definition at line 191 of file path-description.h.
Referenced by clone().
|
overridevirtual |
A virtual function that derived classes will implement.
Returns a newly allocated copy of the path description.
Implements PathDescr.
Definition at line 109 of file path-description.cpp.
References PathDescrClose().
|
overridevirtual |
A virtual function that derived classes will implement.
Dumps the SVG path d attribute for this path description.
s | The stream to put the SVG description in. |
last | The last point before this path description. This is needed for the computation of SVG descriptions of instructions such as Cubic and Arc. |
Reimplemented from PathDescr.
Definition at line 104 of file path-description.cpp.
Geom::Point PathDescrClose::p |
Useless since close instruction needs no point.
Definition at line 199 of file path-description.h.
Referenced by Path::ConvertForcedToMoveTo().