Anti-Grain Geometry Tutorial
SimplePath Class Reference

#include <path.h>

Public Member Functions

 SimplePath (const double *points, int size)
 
void rewind (int path=0)
 
unsigned vertex (double *x, double *y)
 

Detailed Description

A very simple path that wraps around an array of doubles.

Definition at line 25 of file path.h.

Member Function Documentation

◆ rewind()

void SimplePath::rewind ( int  path = 0)
inline

Rewind getting the path vertices.

Parameters
[in]pathan optional value to indicate which path to be rewinded.

Definition at line 41 of file path.h.

◆ vertex()

unsigned SimplePath::vertex ( double *  x,
double *  y 
)
inline

Get the next vertex.

Parameters
[out]xthe vertex x coordinate.
[out]ythe vertex y coordinate.
Returns
the coordinate type. See agg::path_commands_e. agg::path_cmd_stop indicates no more points available.

Definition at line 56 of file path.h.


The documentation for this class was generated from the following file: