Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::canvas::Path::Iterator Class Reference

Forward iterator over the verbs. More...

#include <path.hpp>

Public Member Functions

 Iterator ()=default
 Iterator (const Path *path, size_t verb_index, size_t point_index)
Element operator* () const
Iterator & operator++ ()
bool operator== (const Iterator &o) const
bool operator!= (const Iterator &o) const

Detailed Description

Forward iterator over the verbs.

Dereferencing yields an Element pointing INTO the path's buffer — it is valid only until the path is mutated.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

pulp::canvas::Path::Iterator::Iterator ( )
default

◆ Iterator() [2/2]

pulp::canvas::Path::Iterator::Iterator ( const Path * path,
size_t verb_index,
size_t point_index )
inline

Member Function Documentation

◆ operator!=()

bool pulp::canvas::Path::Iterator::operator!= ( const Iterator & o) const
inline

◆ operator*()

Element pulp::canvas::Path::Iterator::operator* ( ) const

◆ operator++()

Iterator & pulp::canvas::Path::Iterator::operator++ ( )

◆ operator==()

bool pulp::canvas::Path::Iterator::operator== ( const Iterator & o) const
inline

The documentation for this class was generated from the following file:
  • /home/runner/work/pulp/pulp/core/canvas/include/pulp/canvas/path.hpp