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

#include "plDevs.h"
#include "plplotP.h"
#include "drivers.h"
#include "ps.h"
#include <string.h>
#include <time.h>
#include "plunicode-type1.h"
#include "plfci-type1.h"

Defines

#define DEBUG
#define NEED_PLDEBUG
#define TRMFLT(a)   ((fabs(a)<5.0e-4) ? 0.0 : (a))
#define PROC_STR_STRING_LENGTH   1000

Functions

void plD_dispatch_init_psm (PLDispatchTable *pdt)
void plD_dispatch_init_psc (PLDispatchTable *pdt)
static char * ps_getdate (void)
static void ps_init (PLStream *)
static void fill_polygon (PLStream *pls)
static void proc_str (PLStream *, EscText *)
static void esc_purge (unsigned char *, unsigned char *)
static unsigned char plunicode2type1 (const PLUNICODE index, const Unicode_to_Type1_table lookup[], const int number_of_entries)
static void ps_dispatch_init_helper (PLDispatchTable *pdt, char *menustr, char *devnam, int type, int seq, plD_init_fp init)
void plD_init_psm (PLStream *pls)
void plD_init_psc (PLStream *pls)
void plD_line_ps (PLStream *pls, short x1a, short y1a, short x2a, short y2a)
void plD_polyline_ps (PLStream *pls, short *xa, short *ya, PLINT npts)
void plD_eop_ps (PLStream *pls)
void plD_bop_ps (PLStream *pls)
void plD_tidy_ps (PLStream *pls)
void plD_state_ps (PLStream *pls, PLINT op)
void plD_esc_ps (PLStream *pls, PLINT op, void *ptr)

Variables

const char * plD_DEVICE_INFO_ps
static char outbuf [128]
static int text = 1
static int color
static int hrshsym = 1
static DrvOpt ps_options []

Define Documentation

#define DEBUG

#define NEED_PLDEBUG

#define PROC_STR_STRING_LENGTH   1000

#define TRMFLT ( a   )     ((fabs(a)<5.0e-4) ? 0.0 : (a))


Function Documentation

static void esc_purge ( unsigned char *  dstr,
unsigned char *  sstr 
) [static]

static void fill_polygon ( PLStream pls  )  [static]

void plD_bop_ps ( PLStream pls  ) 

void plD_dispatch_init_psc ( PLDispatchTable pdt  ) 

void plD_dispatch_init_psm ( PLDispatchTable pdt  ) 

void plD_eop_ps ( PLStream pls  ) 

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

void plD_init_psc ( PLStream pls  ) 

void plD_init_psm ( PLStream pls  ) 

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

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

void plD_state_ps ( PLStream pls,
PLINT  op 
)

void plD_tidy_ps ( PLStream pls  ) 

static unsigned char plunicode2type1 ( const PLUNICODE  index,
const Unicode_to_Type1_table  lookup[],
const int  number_of_entries 
) [static]

void proc_str ( PLStream pls,
EscText args 
) [static]

static void ps_dispatch_init_helper ( PLDispatchTable pdt,
char *  menustr,
char *  devnam,
int  type,
int  seq,
plD_init_fp  init 
) [static]

static char * ps_getdate ( void   )  [static]

static void ps_init ( PLStream pls  )  [static]


Variable Documentation

int color [static]

int hrshsym = 1 [static]

char outbuf[128] [static]

const char* plD_DEVICE_INFO_ps

Initial value:

 
  "ps:PostScript File (monochrome):0:ps:29:psm\n"
  "psc:PostScript File (color):0:ps:30:psc"

DrvOpt ps_options[] [static]

Initial value:

 {{"text", DRV_INT, &text, "Use Postscript text (text=0|1)"},
                              {"color", DRV_INT, &color, "Use color (color=0|1)"},
                              {"hrshsym", DRV_INT, &hrshsym, "Use Hershey symbol set (hrshsym=0|1)"},
                              {NULL, DRV_INT, NULL, NULL}}

int text = 1 [static]


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