mediaLib Library Functions mlibImageClearFp(3MLIB)
NAME
mlibImageClearFp - clear
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibImageClearFp(mlibimage *img, const mlibd64 *color);
DESCRIPTION
The mlibImageClearFp() function sets an image to a
specific color. The data type of the image can be MLIBFLOAT
or MLIBDOUBLE.
It uses the following equation:
img[x][y][i] = color[i]
PARAMETERS
The function takes the following arguments:
img Pointer to an image.
color Array of color values by channel. color[i] contains
the value for channel i.
RETURN VALUES
The function returns MLIBSUCES if successful. Otherwise
it returns MLIBFAILURE.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibImageClearFp(3MLIB)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibImageClear(3MLIB), mlibImageClearEdge(3MLIB),
mlibImageClearEdgeFp(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|