base |src.lib|graphic|ps| PostScript Index

PostScript

Header
base/rps.h
Library
rps
Members
int cnt; Counter indicating the number of strokes in the current path.
float x; Offset from left edge of the page.
float y; Offset from the top of the page.
float wdt; Width of the plot.
float hgt; Height of the plot.
int land; Flag indicating whether the plot is landscape or portrait. A non-zero value indicates landscape
int pagenum; Page number.
float width; Width of the current stroke.
unsigned int color; Color of the current stroke.
struct PostScriptDash *dash; Dash pattern of the current stroke.
struct PostScriptClip *clip; Clipping polygon of the current stroke.
float px; X coordinate of the current stroke.
float py; Y coordinate of the current stroke.
struct {
int (*user)(char *buf,int sze,void *data); Function called to handle the text stream.
void *data; Pointer to a block of memory passed as the last argument to the text stream handler.
}
text; Text stream handler.
Description

The struct PostScript structure stores a control structure for an PostScript plot.