10 #ifndef IWORKPATH_H_INCLUDED 11 #define IWORKPATH_H_INCLUDED 18 #include <glm/glm.hpp> 20 #include <librevenge/librevenge.h> 49 void appendCurveTo(
double x1,
double y1,
double x2,
double y2,
double x,
double y);
60 void write(librevenge::RVNGPropertyListVector &vec)
const;
81 #endif // IWORKPATH_H_INCLUDED IWORKPath & operator=(const IWORKPath &other)
Definition: IWORKPath.cpp:342
Definition: IWORKBezierElement.cpp:18
IWORKPath operator*(const IWORKPath &path, const glm::dmat3 &tr)
Create a transformed path.
Definition: IWORKPath.cpp:423
double y
Definition: IWORKShape.cpp:43
bool m_closed
Definition: IWORKPath.h:64
void swap(IWORKPath &other)
Definition: IWORKPath.cpp:349
void appendClose()
Definition: IWORKPath.cpp:378
void operator*=(const glm::dmat3 &tr)
Transform all elements of the path.
Definition: IWORKPath.cpp:383
Definition: IWORKToken.h:177
void clear()
Definition: IWORKPath.cpp:355
double x
Definition: IWORKShape.cpp:42
void appendMoveTo(double x, double y)
Definition: IWORKPath.cpp:362
Definition: IWORKToken.h:237
Definition: IWORKPath.h:27
An element of path.
Definition: IWORKPath.cpp:35
Definition: IWORKPath.h:34
bool operator==(const IWORKPath &left, const IWORKPath &right)
Definition: IWORKPath.cpp:413
void appendLineTo(double x, double y)
Definition: IWORKPath.cpp:368
Definition: IWORKToken.h:148
Definition: IWORKToken.h:246
bool operator!=(const IWORKPath &left, const IWORKPath &right)
Definition: IWORKPath.cpp:418
~IWORKPath()
Definition: IWORKPath.cpp:337
void write(librevenge::RVNGPropertyListVector &vec) const
Create librevenge representation of this path.
Definition: IWORKPath.cpp:388
IWORKPath()
Definition: IWORKPath.cpp:285
#define ETONYEK_EPSILON
Definition: libetonyek_utils.h:57
std::deque< Element * > m_elements
Definition: IWORKPath.h:63
friend bool approxEqual(const IWORKPath &left, const IWORKPath &right, const double eps)
Definition: IWORKPath.cpp:405
void appendCurveTo(double x1, double y1, double x2, double y2, double x, double y)
Definition: IWORKPath.cpp:373