When your application opens a workstation, the graPHIGS API creates workstation tables that describe that workstation. Each workstation table has default settings. Use the subroutines in this section to modify some of the table entries according to your application's specifications.
Most workstation table indexes begin with 1. The following exceptions begin with 0:
Some table entries may not be modified.
The subroutines in this section do not create structure elements or modify structure content. The changed table values only take effect after you update the workstation. The application may inquire the default table settings by issuing the appropriate inquiry programming calls. For a listing of the default tables for each supported workstation type, see The graPHIGS Programming Interface: Technical Reference
GPCML (wsid, model) |
Purpose
Use GPCML to set the current color model for the specified workstation to the given color model.
This subroutine enables the application to specify the color model that the graPHIGS API uses to interpret the following colors when your application sets or inquires these colors by the corresponding API subroutines:
Parameters
Error Codes
Related Subroutines
RCP code
201329415 (X'0C000B07')