NAME

window_to_eps -- write window contents to eps-file

PROTOTYPE

unitptr window_to_eps( char *pcWdw, char *pcFileName, float fDxcm, float fDycm, char *pcOpt, unitptr uHost)

ARGUMENTS

char *pcWdw
predecessor window to use
char *pcFileName
initializer for file name
float fDxcm
- not documented in source --
float fDycm
size of bounding region on paper
char *pcOpt
options
unitptr uHost
host unit

RETURN VALUE:

A pointer to the created unit or NULL in the case of an error.

INTERFACE OF CREATED UNIT:

X_in[]:
(text input field 0) Output file name. Initialized with pcFileName.
Y_in[2]:
(input field 1) width and height of bounding box in units of cm. Initialized with fDxcm and fDycm.
CTL_in[]:
(control field) 0 = do nothing, 1 = write, 2 = append

EXECUTION OF CREATED UNIT:

Searches for iWdw-th predecessor window and redraws window contents into newly created eps file. Window area is mapped into rectangle fDxcm, fDycm.

CONTROL MODES:

None.

FILE

/amnt/loge/users/nistaff02/nistaff/rhaschke/nst7/man/../o.linux//../nstsrc/nst_draw.c