[Back to Interface] [Prev] [Next]

GRreadlut/mgrdlut/mgrclut

intn GRreadlut(int32 pal_id, VOIDP pal_data)

pal_id IN:

Palette identifier returned by GRgetlutid

pal_data OUT:

Buffer for the palette data

Purpose

Reads a palette.

Return value

Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.

Description

GRreadlut reads the palette specified by the parameter pal_id into the buffer pal_data.

Note that there are two FORTRAN-77 versions of this routine; one for numeric data (mgrdlut) and the other for character data (mgrclut).

FORTRAN

integer function mgrdlut(pal_id, pal_data)

integer pal_id

<valid numeric data type> pal_data(*)

integer function mgrclut(pal_id, pal_data)

integer pal_id

character*(*) pal_data



[Back to Interface] [Prev] [Next]

hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 07/29/98, NCSA HDF Development Group.