1mlib_ImageGetPaddings(3MLIBm)ediaLib Library Functionmslib_ImageGetPaddings(3MLIB)
2
3
4

NAME

6       mlib_ImageGetPaddings - get paddings
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_u8 *mlib_ImageGetPaddings(const mlib_image *img);
13
14

DESCRIPTION

16       A  query  function  that returns the borders public field of a mediaLib
17       image structure. The data type of the image can be MLIB_BIT, MLIB_BYTE,
18       MLIB_SHORT, MLIB_USHORT, MLIB_INT, MLIB_FLOAT, or MLIB_DOUBLE.
19

PARAMETERS

21       The function takes the following arguments:
22
23       img    Pointer to a mediaLib image structure.
24
25

RETURN VALUES

27       The function returns a pointer to the image paddings. paddings[0] holds
28       leftPadding; paddings[1] holds  topPadding;  paddings[2]  holds  right‐
29       Padding; paddings[3] holds bottomPadding.
30

ATTRIBUTES

32       See attributes(5) for descriptions of the following attributes:
33
34
35
36
37       ┌─────────────────────────────┬─────────────────────────────┐
38       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
39       ├─────────────────────────────┼─────────────────────────────┤
40       │Interface Stability          │Committed                    │
41       ├─────────────────────────────┼─────────────────────────────┤
42       │MT-Level                     │MT-Safe                      │
43       └─────────────────────────────┴─────────────────────────────┘
44

SEE ALSO

46       mlib_ImageGetBitOffset(3MLIB),            mlib_ImageGetChannels(3MLIB),
47       mlib_ImageGetData(3MLIB),  mlib_ImageGetFlags(3MLIB),   mlib_ImageGetH‐
48       eight(3MLIB),   mlib_ImageGetStride(3MLIB),   mlib_ImageGetType(3MLIB),
49       mlib_ImageGetWidth(3MLIB), mlib_ImageSetPaddings(3MLIB), attributes(5)
50
51
52
53SunOS 5.11                        2 Mar 2007      mlib_ImageGetPaddings(3MLIB)
Impressum