Back to index

plt-scheme  4.2.1
Classes | Defines | Functions
ps.h File Reference

Go to the source code of this file.

Classes

struct  PSDev

Defines

#define LINELENGTH   78
#define COPIES   1
#define XSIZE   540 /* 7.5 x 10 [inches] */
#define YSIZE   720 /* (72 points = 1 inch) */
#define ENLARGE   5
#define XPSSIZE   ENLARGE*XSIZE
#define YPSSIZE   ENLARGE*YSIZE
#define XOFFSET   32 /* Margins -- */
#define YOFFSET   32 /* .5 inches each */
#define PSX   XPSSIZE-1
#define PSY   YPSSIZE-1
#define OF   pls->OutFile
#define MIN_WIDTH   1 /* Minimum pen width */
#define MAX_WIDTH   30 /* Maximum pen width */
#define DEF_WIDTH   3 /* Default pen width */
#define XMIN   -XOFFSET*ENLARGE
#define XMAX   PSX+XOFFSET*ENLARGE
#define YMIN   -XOFFSET*ENLARGE
#define YMAX   PSY+XOFFSET*ENLARGE

Functions

void plD_init_pstex (PLStream *)
void plD_line_pstex (PLStream *, short, short, short, short)
void plD_polyline_pstex (PLStream *, short *, short *, PLINT)
void plD_eop_pstex (PLStream *)
void plD_bop_pstex (PLStream *)
void plD_tidy_pstex (PLStream *)
void plD_state_pstex (PLStream *, PLINT)
void plD_esc_pstex (PLStream *, PLINT, void *)
void plD_init_psm (PLStream *)
void plD_init_psc (PLStream *)
void plD_line_ps (PLStream *, short, short, short, short)
void plD_polyline_ps (PLStream *, short *, short *, PLINT)
void plD_eop_ps (PLStream *)
void plD_bop_ps (PLStream *)
void plD_tidy_ps (PLStream *)
void plD_state_ps (PLStream *, PLINT)
void plD_esc_ps (PLStream *, PLINT, void *)

Class Documentation

struct PSDev

Definition at line 36 of file ps.h.

Class Members
int llx
int lly
int ptcnt
PLFLT pxlx
PLFLT pxly
int urx
int ury
PLINT xlen
PLINT xlen_dev
PLINT xmax
PLINT xmax_dev
PLINT xmin
PLINT xmin_dev
PLINT xold
PLFLT xscale_dev
PLINT ylen
PLINT ylen_dev
PLINT ymax
PLINT ymax_dev
PLINT ymin
PLINT ymin_dev
PLINT yold
PLFLT yscale_dev

Define Documentation

#define COPIES   1

Definition at line 12 of file ps.h.

#define DEF_WIDTH   3 /* Default pen width */

Definition at line 25 of file ps.h.

#define ENLARGE   5

Definition at line 15 of file ps.h.

#define LINELENGTH   78

Definition at line 11 of file ps.h.

#define MAX_WIDTH   30 /* Maximum pen width */

Definition at line 24 of file ps.h.

#define MIN_WIDTH   1 /* Minimum pen width */

Definition at line 23 of file ps.h.

#define OF   pls->OutFile

Definition at line 22 of file ps.h.

#define PSX   XPSSIZE-1

Definition at line 20 of file ps.h.

#define PSY   YPSSIZE-1

Definition at line 21 of file ps.h.

#define XMAX   PSX+XOFFSET*ENLARGE

Definition at line 30 of file ps.h.

#define XMIN   -XOFFSET*ENLARGE

Definition at line 29 of file ps.h.

#define XOFFSET   32 /* Margins -- */

Definition at line 18 of file ps.h.

#define XPSSIZE   ENLARGE*XSIZE

Definition at line 16 of file ps.h.

#define XSIZE   540 /* 7.5 x 10 [inches] */

Definition at line 13 of file ps.h.

#define YMAX   PSY+XOFFSET*ENLARGE

Definition at line 32 of file ps.h.

#define YMIN   -XOFFSET*ENLARGE

Definition at line 31 of file ps.h.

#define YOFFSET   32 /* .5 inches each */

Definition at line 19 of file ps.h.

#define YPSSIZE   ENLARGE*YSIZE

Definition at line 17 of file ps.h.

#define YSIZE   720 /* (72 points = 1 inch) */

Definition at line 14 of file ps.h.


Function Documentation

void plD_esc_ps ( PLStream ,
PLINT  ,
void  
)
void plD_esc_pstex ( PLStream ,
PLINT  ,
void  
)
void plD_line_ps ( PLStream ,
short  ,
short  ,
short  ,
short   
)
void plD_line_pstex ( PLStream ,
short  ,
short  ,
short  ,
short   
)
void plD_polyline_ps ( PLStream ,
short *  ,
short *  ,
PLINT   
)
void plD_polyline_pstex ( PLStream ,
short *  ,
short *  ,
PLINT   
)
void plD_state_ps ( PLStream ,
PLINT   
)