drawBand
[ XITE Reference Manual | XITE home ]
Name
drawBand - draw constant value into a whole band
Syntax
#include <xite/draw.h>
int drawBand( IBAND band, double pv,
double impv );
Description
drawBand draws a constant pixel value into a whole
band. The band may have any pixel type. Notice that
the pixel value pv is given as double, no matter what
pixel type the band contains. If the band is complex
or double complex, the imaginary value should be given
as argument impv.
Diagnostics
Warning 1: band argument nil
Error 2: unknown pixel type
Return value
0 => ok, otherwise error/warning number above.
Author
Tor L|nnestad, BLAB, ifi, UiO
Id
$Id: mkImg.c,v 1.28 1997/03/24 10:14:37 svein Exp $