mediaLib Library Functions mlibImageRotate90(3MLIB)
NAME
mlibImageRotate90 - rotate an image by 90 degrees
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
mlibstatus mlibImageRotate90(mlibimage *dst, const mlibimage *src);
DESCRIPTION
Rotate an image 90 degrees clockwise.
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 mlibImageRotate90(3MLIB)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibImageFlipAntiDiag(3MLIB),
mlibImageFlipAntiDiagFp(3MLIB),
mlibImageFlipMainDiag(3MLIB),
mlibImageFlipMainDiagFp(3MLIB), mlibImageFlipX(3MLIB),
mlibImageFlipXFp(3MLIB), mlibImageFlipY(3MLIB),
mlibImageFlipYFp(3MLIB), mlibImageRotate90Fp(3MLIB),
mlibImageRotate180(3MLIB), mlibImageRotate180Fp(3MLIB),
mlibImageRotate270(3MLIB), mlibImageRotate270Fp(3MLIB),
attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 2
|