[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface : Subroutine Reference
GPCRC - Create Color Table
GPCRC
(wsid,
ctid,
model,
length) |
Purpose
Use
GPCRC to create a color table with a
specified color model and length for a specified
workstation.
All entries are initialized to the linear scale between the
minimum and maximum values supported by the workstation.
This color table may be used for image processing.
For information on using color tables for image processing
see
The graPHIGS Programming Interface: Understanding Concepts
Parameters
wsid -- specified by user, fullword integer
Workstation identifier.
ctid -- specified by user, fullword integer
Color table identifier (>=1)
model -- specified by user, fullword integer
Color model
(1=RGB
)
length -- specified by user, fullword integer
Length of color table in log2 (>0)
Error Codes
- 25
- SPECIFIED WORKSTATION DOES NOT EXIST
- 35
- WORKSTATION HAS ONLY INPUT CAPABILITIES
- 282
- COLOR TABLE IDENTIFIER < ONE
- 283
- COLOR TABLE IDENTIFIER ALREADY IS IN USE
- 285
- SPECIFIED COLOR MODEL IS NOT SUPPORTED
- 286
- COLOR TABLE SIZE EXCEEDS THE WORKSTATION MAXIMUM
- 287
- COLOR TABLE SIZE < ONE
Related Subroutines
- GPDFI
- Define Image
- GPDLC
- Delete Color Table
RCP code
201329425
(X'0C000B11')
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]