mediaLib Library Functions mlibImageGetPaddings(3MLIB)
NAME
mlibImageGetPaddings - get paddings
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibu8 *mlibImageGetPaddings(const mlibimage *img);
DESCRIPTION
A query function that returns the borders public field of a
mediaLib image structure. The data type of the image can be
MLIBIT, MLIBYTE, MLIBSHORT, MLIBUSHORT, MLIBINT,
MLIBFLOAT, or MLIBDOUBLE.
PARAMETERS
The function takes the following arguments:
img Pointer to a mediaLib image structure.
RETURN VALUES
The function returns a pointer to the image paddings. pad-
dings[0] holds leftPadding; paddings[1] holds topPadding;
paddings[2] holds rightPadding; paddings[3] holds bottomPad-
ding.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibImageGetBitOffset(3MLIB), mlibImageGetChannels(3MLIB),
mlibImageGetData(3MLIB), mlibImageGetFlags(3MLIB),
mlibImageGetHeight(3MLIB), mlibImageGetStride(3MLIB),
mlibImageGetType(3MLIB), mlibImageGetWidth(3MLIB),
mlibImageSetPaddings(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 1
|