getmco(3G)

getmco - gets a copy of the RGB values for a color map entry

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     getmco - gets a copy of the RGB values for a color map entry

FORTRAN 77 SPECIFICATION
     subroutine getmco(i, red, green, blue)
     integer*4 i
     integer*2 red, green, blue

PARAMETERS
     i   expects an index into the color map

     r   expects the variable into which you want to copy the red value of the
         color at the color map index specified by i.

     g   expects the variable into which you want to copy the green value of
         the color at the color map index specified by i.

     b   expects the variable into which you want to copy the blue value of
         the color at the color map index specified by i.

DESCRIPTION
     getmcolor gets the red, green, and blue components of a color map entry
     and copies them to the specified variables.

SEE ALSO
     drawmo, mapcol, gRGBco

NOTE
     This routine is available only in immediate mode.

     The values of the red, green, and blue components for a color map cell
     that is transparent are undefined.