#include <Pt/Gfx/Path.h>
Read-only view of a path element.
Public Member Functions | |
| Path::ElementType | type () const |
| Returns the element type. | |
| std::size_t | size () const |
| Returns the number of points stored in the element. | |
| const PointF & | position () const |
| Returns the current path position before the element. | |
| const PointF & | point (std::size_t n) const |
| Returns one point of the element. | |
| void | flatten (Polygon &points, double tolerance=0.25) const |
| Flattens the element into polygon points. | |