10 #ifndef IWORKPATH_H_INCLUDED 11 #define IWORKPATH_H_INCLUDED 17 #include <glm/glm.hpp> 19 #include <librevenge/librevenge.h> 46 void appendCurveTo(
double x1,
double y1,
double x2,
double y2,
double x,
double y);
63 void write(librevenge::RVNGPropertyListVector &vec)
const;
83 #endif // IWORKPATH_H_INCLUDED Definition: IWORKBezierElement.cpp:18
Definition: IWORKToken.h:228
IWORKPath operator*(const IWORKPath &path, const glm::dmat3 &tr)
Create a transformed path.
double y
Definition: IWORKShape.cpp:43
void swap(IWORKPath &other)
void operator*=(const glm::dmat3 &tr)
Transform all elements of the path.
Definition: IWORKToken.h:338
double x
Definition: IWORKShape.cpp:42
void appendMoveTo(double x, double y)
const std::string str() const
Definition: IWORKPath.h:26
Definition: IWORKPath.h:32
Definition: IWORKToken.h:354
bool operator==(const IWORKPath &left, const IWORKPath &right)
std::shared_ptr< Impl > m_impl
Definition: IWORKPath.h:66
void appendLineTo(double x, double y)
bool operator!=(const IWORKPath &left, const IWORKPath &right)
void write(librevenge::RVNGPropertyListVector &vec) const
Create librevenge representation of this path.
Definition: IWORKToken.h:266
#define ETONYEK_EPSILON
Definition: libetonyek_utils.h:26
Definition: IWORKPath.cpp:62
friend bool approxEqual(const IWORKPath &left, const IWORKPath &right, const double eps)
void appendCurveTo(double x1, double y1, double x2, double y2, double x, double y)
IWORKPath & operator=(const IWORKPath &other)