|
NovaSVG 0.10.0
A header-only SVG library
|
#include <canvas.h>
Public Member Functions | |
| PathIterator (const Path &path) | |
| PathCommand | currentSegment (std::array< Point, 3 > &points) const |
| bool | isDone () const |
| void | next () |
| NOVASVG_INLINE novasvg::PathIterator::PathIterator | ( | const Path & | path | ) |
| NOVASVG_INLINE PathCommand novasvg::PathIterator::currentSegment | ( | std::array< Point, 3 > & | points | ) | const |
Definition at line 866 of file canvas.h.
References novasvg::render::path_element::command, novasvg::render::path_element::header, novasvg::render::NOVASVG_PATH_COMMAND_CLOSE, novasvg::render::NOVASVG_PATH_COMMAND_CUBIC_TO, novasvg::render::NOVASVG_PATH_COMMAND_LINE_TO, novasvg::render::NOVASVG_PATH_COMMAND_MOVE_TO, and novasvg::render::path_element::point.
Referenced by novasvg::SVGGeometryElement::updateMarkerPositions().
|
inline |
Definition at line 371 of file canvas.h.
Referenced by novasvg::SVGGeometryElement::updateMarkerPositions().
| NOVASVG_INLINE void novasvg::PathIterator::next | ( | ) |
Definition at line 889 of file canvas.h.
References novasvg::render::path_element::header, and novasvg::render::path_element::length.
Referenced by novasvg::SVGGeometryElement::updateMarkerPositions().