[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPDCM - Set Direct Color Model

GPDCM (model)

Purpose

Use GPDCM to set the current direct color model in the graPHIGS API state list. This color model is used for interpreting color values specified in all subsequent structure element subroutines which have direct color parameters.

Parameters

model -- specified by user, fullword integer

Color model (1=RGB, 2=HSV, 3=CMY, 4=CIELUV )

Error Codes

318
COLOR MODEL INVALID

Related Subroutines

GPQDCM
Inquire Direct Color Model

RCP code

201343502 (X'0C00420E')


[ Previous | Next | Contents | Glossary | Home | Search ]