1mlib_ImageClearEdge_Fp(3MLImBe)diaLib Library Functiomnlsib_ImageClearEdge_Fp(3MLIB)
2
3
4

NAME

6       mlib_ImageClearEdge_Fp - sets edges of an image to a specific color
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_ImageClearEdge_Fp(mlib_image *img, mlib_s32 dx,
13            mlib_s32 dy, const mlib_d64 *color);
14
15

DESCRIPTION

17       The  mlib_ImageClearEdge_Fp() function sets edges of an image to a spe‐
18       cific color. This function can be used in conjunction with the convolve
19       and  other  spatial  functions  to  fill  in the pixel values along the
20       edges. The data type of the image can be MLIB_FLOAT or MLIB_DOUBLE.
21

PARAMETERS

23       The function takes the following arguments:
24
25       img      Pointer to an image.
26
27
28       dx       Number of columns on the left and right edges of the image  to
29                be cleared.
30
31
32       dy       Number  of rows at the top and bottom edges of the image to be
33                cleared.
34
35
36       color    Array of color values by channel. color[i] contains the  value
37                for channel i.
38
39

RETURN VALUES

41       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
42       MLIB_FAILURE.
43

ATTRIBUTES

45       See attributes(5) for descriptions of the following attributes:
46
47
48
49
50       ┌─────────────────────────────┬─────────────────────────────┐
51       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
52       ├─────────────────────────────┼─────────────────────────────┤
53       │Interface Stability          │Committed                    │
54       ├─────────────────────────────┼─────────────────────────────┤
55       │MT-Level                     │MT-Safe                      │
56       └─────────────────────────────┴─────────────────────────────┘
57

SEE ALSO

59       mlib_ImageClear(3MLIB),     mlib_ImageClearEdge(3MLIB),     mlib_Image‐
60       ClearEdge_Fp(3MLIB), attributes(5)
61
62
63
64SunOS 5.11                        2 Mar 2007     mlib_ImageClearEdge_Fp(3MLIB)
Impressum