cc [ flag... ] file... –lmlib [ library... ] #include <mlib.h> mlib_status mlib_GraphicsBoundaryFill_8(mlib_image *buffer, mlib_s16 x, mlib_s16 y, mlib_s32 c, mlib_s32 c2);
mlib_status mlib_GraphicsBoundaryFill_32(mlib_image *buffer, mlib_s16 x, mlib_s16 y, mlib_s32 c, mlib_s32 c2);
Each of these functions performs boundary fill.
Each of the functions takes the following arguments:
Pointer to the image into which the function is drawing.
X coordinate of the starting point.
Y coordinate of the starting point.
Color used in the drawing.
Color that defines the filling boundary.
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
See attributes(5) for descriptions of the following attributes: