Go to the source code of this file.
Typedefs |
typedef void(* | prevPolyFunc )(int x, int y, int cnt, void *data) |
Functions |
gboolean | prev_drawFPoly_raw (int width, int height, int npts, const prevDataPoint *pts, gboolean invers, prevPolyFunc fkt, void *data) |
gboolean | prev_drawConvexPoly_raw (int width, int height, int npts, const prevDataPoint *pts, gboolean invers, prevPolyFunc fkt, void *data) |
Typedef Documentation
typedef void(* prevPolyFunc)(int x, int y, int cnt, void *data) |
Function Documentation
gboolean prev_drawFPoly_raw |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
npts, |
|
|
const prevDataPoint * |
pts, |
|
|
gboolean |
invers, |
|
|
prevPolyFunc |
fkt, |
|
|
void * |
data |
|
) |
| |
Fill the polygon defined by the points pts (or everything except
the polygon if invers==TRUE).
width, height: clipping range for the polygon
npts : number of points
fkt : is called with data as argument
gboolean prev_drawConvexPoly_raw |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
npts, |
|
|
const prevDataPoint * |
pts, |
|
|
gboolean |
invers, |
|
|
prevPolyFunc |
fkt, |
|
|
void * |
data |
|
) |
| |