QSAS_2_3/QSAS_dist/src/Utilities/qplplot/pbm.c File Reference

#include "plDevs.h"
#include "plplotP.h"
#include "drivers.h"

Defines

#define PIXELS_X   640
#define PIXELS_Y   480
#define MAX(a, b)   ((a>b) ? a : b)
#define ABS(a)   ((a<0) ? -a : a)
#define MAX_INTENSITY   255
#define sign(a)   ((a<0) ? -1 : ((a == 0) ? 0 : 1))
#define plot(x, y, c)

Functions

void plD_dispatch_init_pbm (PLDispatchTable *pdt)
void plD_init_pbm (PLStream *)
void plD_line_pbm (PLStream *, short, short, short, short)
void plD_polyline_pbm (PLStream *, short *, short *, PLINT)
void plD_eop_pbm (PLStream *)
void plD_bop_pbm (PLStream *)
void plD_tidy_pbm (PLStream *)
void plD_state_pbm (PLStream *, PLINT)
void plD_esc_pbm (PLStream *, PLINT, void *)

Variables

const char * plD_DEVICE_INFO_pbm = "pbm:PDB (PPM) Driver:0:pbm:38:pbm"
static char * cmap

Define Documentation

#define ABS ( a   )     ((a<0) ? -a : a)

#define MAX ( a,
b   )     ((a>b) ? a : b)

#define MAX_INTENSITY   255

#define PIXELS_X   640

#define PIXELS_Y   480

#define plot ( x,
y,
 ) 

Value:

{int i = 3*((y)*(c)->xlength+(x)); \
                     cmap[i+0] = (c)->curcolor.r; \
                     cmap[i+1] = (c)->curcolor.g; \
                     cmap[i+2] = (c)->curcolor.b; }

#define sign ( a   )     ((a<0) ? -1 : ((a == 0) ? 0 : 1))


Function Documentation

void plD_bop_pbm ( PLStream pls  ) 

void plD_dispatch_init_pbm ( PLDispatchTable pdt  ) 

void plD_eop_pbm ( PLStream pls  ) 

void plD_esc_pbm ( PLStream pls,
PLINT  op,
void *  ptr 
)

void plD_init_pbm ( PLStream pls  ) 

void plD_line_pbm ( PLStream pls,
short  x1a,
short  y1a,
short  x2a,
short  y2a 
)

void plD_polyline_pbm ( PLStream pls,
short *  xa,
short *  ya,
PLINT  npts 
)

void plD_state_pbm ( PLStream pls,
PLINT  op 
)

void plD_tidy_pbm ( PLStream pls  ) 


Variable Documentation

char* cmap [static]

const char* plD_DEVICE_INFO_pbm = "pbm:PDB (PPM) Driver:0:pbm:38:pbm"


Generated on Tue Dec 9 16:55:34 2008 for QSAS by  doxygen 1.5.7