pcb 4.1.1
An interactive printed circuit board layout editor.
|
#include <curve.h>
Data Fields | |
int | len |
point_t * | pt |
int * | lon |
int | x0 |
int | y0 |
sums_t * | sums |
int | m |
int * | po |
privcurve_t | curve |
privcurve_t | ocurve |
privcurve_t * | fcurve |
The path structure is filled in with information about a given path as it is accumulated and passed through the different stages of the Potrace algorithm. Backends only need to read the fcurve and fm fields of this data structure, but debugging backends may read other fields.
curve[m]: array of curve elements.
Definition at line 82 of file curve.h.
Referenced by adjust_vertices(), opti_penalty(), opticurve(), and path_free().
Definition at line 74 of file curve.h.
Referenced by adjust_vertices(), bestpolygon(), calc_lon(), calc_sums(), findpath(), penalty3(), pointslope(), setbbox_path(), and xor_path().
lon[len]: (i,lon[i]) = longest straight line from i.
Definition at line 76 of file curve.h.
Referenced by bestpolygon(), calc_lon(), and path_free().
Length of optimal polygon.
Definition at line 80 of file curve.h.
Referenced by adjust_vertices(), bestpolygon(), and plotpolygon().
ocurve[om]: array of curve elements.
Definition at line 83 of file curve.h.
Referenced by opticurve(), and path_free().
po[m]: optimal polygon.
Definition at line 81 of file curve.h.
Referenced by adjust_vertices(), bestpolygon(), path_free(), and plotpolygon().
pt[len]: path as extracted from bitmap.
Definition at line 75 of file curve.h.
Referenced by adjust_vertices(), calc_lon(), calc_sums(), findpath(), path_free(), pathlist_to_tree(), penalty3(), plotpolygon(), setbbox_path(), and xor_path().
sums[len+1]: cache for fast summing.
Definition at line 79 of file curve.h.
Referenced by calc_sums(), path_free(), penalty3(), and pointslope().
X-value of origin for sums.
Definition at line 77 of file curve.h.
Referenced by adjust_vertices(), and calc_sums().
Y-value of origin for sums.
Definition at line 78 of file curve.h.
Referenced by adjust_vertices(), and calc_sums().