Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DdSetColorEntries(3D)

DdInqColorTableSize(3D)

DdInqVisualType(3D)

DdInqColorEntries(3D)  —  Kubota Pacfic Computer Inc. (\*(Dd)

NAME

DdInqColorEntries − Return color lookup table entries of a device

SYNOPSIS

C:

void DdInqColorEntries(device, colormodel, start, count,
entries)
DtObject device;
DtColorModel colormodel;
DtInt start;
DtInt count;
DtReal entries[];

FORTRAN:

CALL DDQCE(DEVICE, COLMOD, START, COUNT,
ENTRYS)
INTEGER∗4 DEVICE
INTEGER∗4 COLMOD
INTEGER∗4 START
INTEGER∗4 COUNT
REAL∗8 ENTRYS(∗)

DESCRIPTION

DdInqColorEntries returns, in the supplied array entries, all the color entries in the color lookup table, starting at the start location for count number of entries on the specified device device.  Each entry’s length is determined by the colormodel parameter, which specifies the color model used to represent color information. 

Many actual devices use a color lookup table or a fixed set of colors or grey values.  DdInqColorEntries allows the user to determine the values of the user-writable or fixed set of tables. 

ERRORS

DdInqColorEntries will fail if the device handle is invalid. 

[WARNING - invalid device handle]

DdInqColorEntries will also fail if the start or count parameters refer to entries outside the color lookup table boundaries. 

[WARNING - bad start and/or count values]

SEE ALSO

DdSetColorEntries(3D), DdInqColorTableSize(3D), DdInqVisualType(3D)

March 13, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026