mediaLib Library Functions mlibGraphicsFloodFill8(3MLIB)
NAME
mlibGraphicsFloodFill8, mlibGraphicsFloodFill32 - flood
fill
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibGraphicsFloodFill8(mlibimage *buffer, mlibs16 x,
mlibs16 y, mlibs32 c, mlibs32 c2);
mlibstatus mlibGraphicsFloodFill32(mlibimage *buffer, mlibs16 x,
mlibs16 y, mlibs32 c, mlibs32 c2);
DESCRIPTION
Each of these functions performs flood fill.
PARAMETERS
Each of the functions takes the following arguments:
buffer Pointer to the image into which the function is
drawing.
x X coordinate of the starting point.
y Y coordinate of the starting point.
c Color used in the drawing.
c2 Color that defines the filling interior.
RETURN VALUES
Each of the functions 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 mlibGraphicsFloodFill8(3MLIB)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|