Function: GDI_GETLUT Purpose: Obtains the current colors. Category: DISPLAY File: gdilib.c Author: K.G. Begeman Use: INTEGER GDI_GETLUT( GDI_ID , Input INTEGER RED , Output REAL ARRAY GREEN , Output REAL ARRAY BLUE , Output REAL ARRAY NCOL ) Output INTEGER GDI_GETLUT Returns zero on success, negative on error. GDI_ID Id of display. RED Red intensities (0.0-1.0). GREEN Green intensities (0.0-1.0). BLUE Blue intensities (0.0-1.0). NCOL Number of colors returned. The maximum number of colors is 256, so be sure that arrays RED, GREEN and BLUE have at least this size. Updates: Feb 23, 1993: KGB, Document created.