An element of path.
More...
|
| virtual | ~Element ()=0 |
| |
| virtual Element * | clone () const =0 |
| |
| virtual bool | approxEqualsTo (const Element *other, double eps) const =0 |
| | Test whether this element is equal to other. More...
|
| |
| virtual void | transform (const glm::dmat3 &tr)=0 |
| | Transform this path element. More...
|
| |
| virtual void | write (RVNGPropertyList &element) const =0 |
| | Create librevenge representation of this path element. More...
|
| |
| libetonyek::IWORKPath::Element::~Element |
( |
| ) |
|
|
pure virtual |
| virtual bool libetonyek::IWORKPath::Element::approxEqualsTo |
( |
const Element * |
other, |
|
|
double |
eps |
|
) |
| const |
|
pure virtual |
Test whether this element is equal to other.
- Note
- Because all implementations of this interface are directly derived from it (i.e., thay have no subclasses), it is enough to check if
other has a compatible type, not that this and other have the same type (which would require double dispatch).
- Returns
- true if
this and other are equal.
Referenced by libetonyek::approxEqual().
| virtual Element* libetonyek::IWORKPath::Element::clone |
( |
| ) |
const |
|
pure virtual |
| virtual void libetonyek::IWORKPath::Element::transform |
( |
const glm::dmat3 & |
tr | ) |
|
|
pure virtual |
| virtual void libetonyek::IWORKPath::Element::write |
( |
RVNGPropertyList & |
element | ) |
const |
|
pure virtual |
Create librevenge representation of this path element.
The documentation for this class was generated from the following file: