Previous Next Up Title Contents Index Functions Index Top Library

1.3.9. ARCHITECTURE OF A MINIMUM PHIGS PROGRAM

The following is the skeleton of a minimum PHIGS program, displaying a structure with the identifier STRID according to a 2D view index VIEWID on a workstation with the identifier WKID


CALL POPPH (...);	/* open PHIGS */

CALL POPST (STRID);	/* build structure */
CALL PSVWI (VIEWID); 	/* view index */
.
.
.
CALL PCLST ();

CALL POPWK (WKID, ...);	/* open a workstation */

CALL PEVOM (...);	/* parameters of one view */
CALL PEVMM (...);

CALL PSVWR (WKID, VIEWID, ...);	/* defining the view */

CALL PPOST (WKID, STRID, ...);	/* structures to be displayed */
CALL PRST (WKID, ...);	/* displaying posted structures */

CALL PCLWK (WKID);	/* close workstation and PHIGS */
CALL PCLPH ();


Previous Next Up Title Contents Index Functions Index Top Library