DdInqColorTableSize(3D) — Kubota Pacfic Computer Inc. (Doré)
NAME
DdInqColorTableSize − Return the number of entries in the color lookup table
SYNOPSIS
C:
DtInt DdInqColorTableSize(device)
DtObject device;
FORTRAN:
INTEGER∗4 DDQCTS(DEVICE)
INTEGER∗4 DEVICE
DESCRIPTION
DdInqColorTableSize returns the number of entries in the color lookup table for the device, device. The color table defines the mapping between pixel values and colors displayed on the screen.
DdInqColorEntries <DDQCE> may be used to examine the values in the color lookup table. DdSetColorEntries <DDSCE> may be used to set the entries in the lookup table (on devices that have writable tables.
ERRORS
DdInqColorTableSize will fail if the device handle is invalid; the value -1 is returned.
[WARNING - invalid device handle]
SEE ALSO
DdInqColorEntries(3D), DdSetColorEntries(3D)
September 02, 1992