#include "plplotP.h"
Defines | |
#define | INSIDE(ix, iy) (BETW(ix,xmin,xmax) && BETW(iy,ymin,ymax)) |
Functions | |
static void | pllclp (PLINT *x, PLINT *y, PLINT npts) |
static int | clipline (PLINT *p_x1, PLINT *p_y1, PLINT *p_x2, PLINT *p_y2, PLINT xmin, PLINT xmax, PLINT ymin, PLINT ymax) |
static void | genlin (short *x, short *y, PLINT npts) |
static void | grdashline (short *x, short *y) |
static int | pointinpolygon (int n, PLINT *x, PLINT *y, PLINT xp, PLINT yp) |
void | c_pljoin (PLFLT x1, PLFLT y1, PLFLT x2, PLFLT y2) |
void | c_plline (PLINT n, PLFLT *x, PLFLT *y) |
void | c_plline3 (PLINT n, PLFLT *x, PLFLT *y, PLFLT *z) |
void | c_plpoly3 (PLINT n, PLFLT *x, PLFLT *y, PLFLT *z, PLBOOL *draw, PLBOOL ifcc) |
void | c_plstyl (PLINT nms, PLINT *mark, PLINT *space) |
void | plP_movphy (PLINT x, PLINT y) |
void | plP_draphy (PLINT x, PLINT y) |
void | plP_movwor (PLFLT x, PLFLT y) |
void | plP_drawor (PLFLT x, PLFLT y) |
void | plP_draphy_poly (PLINT *x, PLINT *y, PLINT n) |
void | plP_drawor_poly (PLFLT *x, PLFLT *y, PLINT n) |
void | plP_pllclp (PLINT *x, PLINT *y, PLINT npts, PLINT xmin, PLINT xmax, PLINT ymin, PLINT ymax, void(*draw)(short *, short *, PLINT)) |
static int | circulation (PLINT *x, PLINT *y, PLINT npts) |
void | plP_plfclp (PLINT *x, PLINT *y, PLINT npts, PLINT xmin, PLINT xmax, PLINT ymin, PLINT ymax, void(*draw)(short *, short *, PLINT)) |
Variables | |
static PLINT | xline [PL_MAXPOLY] |
static PLINT | yline [PL_MAXPOLY] |
static PLINT | lastx = PL_UNDEFINED |
static PLINT | lasty = PL_UNDEFINED |
static int clipline | ( | PLINT * | p_x1, | |
PLINT * | p_y1, | |||
PLINT * | p_x2, | |||
PLINT * | p_y2, | |||
PLINT | xmin, | |||
PLINT | xmax, | |||
PLINT | ymin, | |||
PLINT | ymax | |||
) | [static] |
static void genlin | ( | short * | x, | |
short * | y, | |||
PLINT | npts | |||
) | [static] |
static void grdashline | ( | short * | x, | |
short * | y | |||
) | [static] |
void plP_plfclp | ( | PLINT * | x, | |
PLINT * | y, | |||
PLINT | npts, | |||
PLINT | xmin, | |||
PLINT | xmax, | |||
PLINT | ymin, | |||
PLINT | ymax, | |||
void(*)(short *, short *, PLINT) | draw | |||
) |
void plP_pllclp | ( | PLINT * | x, | |
PLINT * | y, | |||
PLINT | npts, | |||
PLINT | xmin, | |||
PLINT | xmax, | |||
PLINT | ymin, | |||
PLINT | ymax, | |||
void(*)(short *, short *, PLINT) | draw | |||
) |