#include <IWORKPath.h>
Classes | |
| class | Element |
| An element of path. More... | |
| struct | InvalidException |
Public Member Functions | |
| IWORKPath () | |
| IWORKPath (const std::string &path) | |
| IWORKPath (const IWORKPath &other) | |
| ~IWORKPath () | |
| IWORKPath & | operator= (const IWORKPath &other) |
| void | swap (IWORKPath &other) |
| void | clear () |
| void | appendMoveTo (double x, double y) |
| void | appendLineTo (double x, double y) |
| void | appendCurveTo (double x1, double y1, double x2, double y2, double x, double y) |
| void | appendClose () |
| void | operator*= (const glm::dmat3 &tr) |
| Transform all elements of the path. More... | |
| void | write (librevenge::RVNGPropertyListVector &vec) const |
| Create librevenge representation of this path. More... | |
Private Attributes | |
| std::deque< Element * > | m_elements |
| bool | m_closed |
Friends | |
| bool | approxEqual (const IWORKPath &left, const IWORKPath &right, const double eps) |
| libetonyek::IWORKPath::IWORKPath | ( | ) |
|
explicit |
| libetonyek::IWORKPath::IWORKPath | ( | const IWORKPath & | other | ) |
| libetonyek::IWORKPath::~IWORKPath | ( | ) |
| void libetonyek::IWORKPath::appendClose | ( | ) |
Referenced by libetonyek::KEYCollector::drawTextBox(), and IWORKPath().
| void libetonyek::IWORKPath::appendCurveTo | ( | double | x1, |
| double | y1, | ||
| double | x2, | ||
| double | y2, | ||
| double | x, | ||
| double | y | ||
| ) |
| void libetonyek::IWORKPath::appendLineTo | ( | double | x, |
| double | y | ||
| ) |
Referenced by libetonyek::KEYCollector::drawTextBox(), and IWORKPath().
| void libetonyek::IWORKPath::appendMoveTo | ( | double | x, |
| double | y | ||
| ) |
Referenced by libetonyek::KEYCollector::drawTextBox(), and IWORKPath().
| void libetonyek::IWORKPath::clear | ( | ) |
Referenced by IWORKPath(), and ~IWORKPath().
| void libetonyek::IWORKPath::operator*= | ( | const glm::dmat3 & | tr | ) |
Transform all elements of the path.
| void libetonyek::IWORKPath::swap | ( | IWORKPath & | other | ) |
Referenced by operator=().
| void libetonyek::IWORKPath::write | ( | librevenge::RVNGPropertyListVector & | vec | ) | const |
Create librevenge representation of this path.
Referenced by libetonyek::IWORKCollector::drawShape(), and libetonyek::KEYCollector::drawTextBox().
|
private |
Referenced by appendClose(), appendMoveTo(), and write().
|
private |
Referenced by appendCurveTo(), appendLineTo(), appendMoveTo(), libetonyek::approxEqual(), clear(), IWORKPath(), operator*=(), swap(), and write().