PathIterator Class Reference

#include <Pt/Gfx/Path.h>

Forward iterator over path elements.

Public Member Functions

 PathIterator ()
 Constructs an end iterator.
 
 PathIterator (const PathEntry *entry, const PointF *points)
 Constructs an iterator for the given storage pointers.
 
const Path::Elementoperator* () const
 Returns the current path element.
 
const Path::Elementoperator-> () const
 Returns a pointer to the current path element.
 
PathIteratoroperator++ ()
 Advances to the next path element.
 
PathIterator operator++ (int)
 Advances to the next path element and returns the previous iterator.
 
bool operator== (const PathIterator &other) const
 Returns true if both iterators refer to the same element.
 
bool operator!= (const PathIterator &other) const
 Returns true if both iterators refer to different elements.
 
bool operator< (const PathIterator &other) const
 Returns true if this iterator precedes the other iterator.