1mlib_GraphicsFloodFill_8(3MmLeIdBi)aLib Library Functmiloinbs_GraphicsFloodFill_8(3MLIB)
2
3
4
6 mlib_GraphicsFloodFill_8, mlib_GraphicsFloodFill_32 - flood fill
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_GraphicsFloodFill_8(mlib_image *buffer, mlib_s16 x,
13 mlib_s16 y, mlib_s32 c, mlib_s32 c2);
14
15
16 mlib_status mlib_GraphicsFloodFill_32(mlib_image *buffer, mlib_s16 x,
17 mlib_s16 y, mlib_s32 c, mlib_s32 c2);
18
19
21 Each of these functions performs flood fill.
22
24 Each of the functions takes the following arguments:
25
26 buffer Pointer to the image into which the function is drawing.
27
28
29 x X coordinate of the starting point.
30
31
32 y Y coordinate of the starting point.
33
34
35 c Color used in the drawing.
36
37
38 c2 Color that defines the filling interior.
39
40
42 Each of the functions returns MLIB_SUCCESS if successful. Otherwise it
43 returns MLIB_FAILURE.
44
46 See attributes(5) for descriptions of the following attributes:
47
48
49
50
51 ┌─────────────────────────────┬─────────────────────────────┐
52 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
53 ├─────────────────────────────┼─────────────────────────────┤
54 │Interface Stability │Committed │
55 ├─────────────────────────────┼─────────────────────────────┤
56 │MT-Level │MT-Safe │
57 └─────────────────────────────┴─────────────────────────────┘
58
60 attributes(5)
61
62
63
64SunOS 5.11 2 Mar 2007 mlib_GraphicsFloodFill_8(3MLIB)