[Top] [Prev] [Next] [Bottom]

GRreqlutil/mgrltil

intn GRreqlutil(int32 ri_id, intn interlace_mode)
ri_id

IN:

General raster image identifier returned by GRcreate or GRselect

interlace_mode

IN:

Interlace mode of the next palette read operation: MFGR_INTERLACE_PIXEL (or 0), MFGR_INTERLACE_LINE (or 1), or MFGR_INTERLACE_COMPONENT (or 2)

Purpose

Sets or resets the interlace mode that will be in effect during the next palette read operation.

Return value

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

Description

GRreqlutil can to called anytime before the palette read operation.

Example

This example illustrates the use of GRreqlutil:

     #include "hdf.h"

     int32 ri_id, pal_id, stat;
     VOIDP palette_data;
     intn interlace_mode = MFGR_INTERLACE_PIXEL;
       ...
     stat = GRreqlutil(ri_id, interlace_mode);
     stat = GRreadlut(pal_id, palette_data);
       ...
      
FORTRAN

integer function mgrltil(ri_id, interlace_mode)

integer ri_id, interlace_mode



[Top] [Prev] [Next] [Bottom]

hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.