mediaLib Library Functions mlibImageFlipMainDiag(3MLIB)
NAME
mlibImageFlipMainDiag - main diagonal flip
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibImageFlipMainDiag(mlibimage *dst, const mlibimage *src);
DESCRIPTION
The mlibImageFlipMainDiag() function flips an image on the
main diagonal.
The width and height of the destination image can be dif-
ferent from the width and height of the source image. The
center of the source image is mapped to the center of the
destination image.
The data type of the images can be MLIBIT, MLIBYTE,
MLIBSHORT, MLIBUSHORT, or MLIBINT.
PARAMETERS
The function takes the following arguments:
dst Pointer to destination image.
src Pointer to source image.
RETURN VALUES
The function returns MLIBSUCES if successful. Otherwise
it returns MLIBFAILURE.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 2 Mar 2007 1
mediaLib Library Functions mlibImageFlipMainDiag(3MLIB)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibImageFlipAntiDiag(3MLIB),
mlibImageFlipAntiDiagFp(3MLIB),
mlibImageFlipMainDiagFp(3MLIB), mlibImageFlipX(3MLIB),
mlibImageFlipXFp(3MLIB), mlibImageFlipY(3MLIB),
mlibImageFlipYFp(3MLIB), mlibImageRotate90(3MLIB),
mlibImageRotate90Fp(3MLIB), mlibImageRotate180(3MLIB),
mlibImageRotate180Fp(3MLIB), mlibImageRotate270(3MLIB),
mlibImageRotate270Fp(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|