INQUIRE COLOUR MODEL(3P) — Kubota Pacfic Computer Inc. (29 February 1991)
NAME
INQUIRE COLOUR MODEL − inquire a workstation’s current colour model
SYNOPSIS
C Syntax
void
pinq_colr_model ( ws, error_ind, model )
Pintws;workstation identifier
Pint∗error_ind;OUT error indicator
Pint∗model;OUT current colour model
Required PHIGS Operating States
(PHOP, WSOP, ∗, ∗)
DESCRIPTION
Purpose
Use INQUIRE COLOUR MODEL to determine the current colour model from a specified PHIGS workstation state list.
C Input Parameters
wsThe workstation identifier of the workstation whose workstation state list is queried.
C Output Parameters
error_ind
A pointer to the location to store the error number of any error detected by this function.
modelA pointer to a location in which the system returns the current colour model. The possible colour models are as follows:
0PINDIRECT
1PMODEL_RGB
2PMODEL_CIELUV
3PMODEL_HSV
4PMODEL_HLS
ERRORS
003Ignoring function, function requires state (PHOP, WSOP, ∗, ∗)
054Ignoring function, the specified workstation is not open
059Ignoring function, the specified workstation does not have output capability (that is, the workstation category is neither OUTPUT, OUTIN, nor MO)
SEE ALSO
INQUIRE COLOUR MODEL FACILITIES (3P)
SET COLOUR MODEL (3P)
September 02, 1992