1mlib_ImageRotate180(3MLIB)mediaLib Library Functionsmlib_ImageRotate180(3MLIB)
2
3
4
6 mlib_ImageRotate180 - rotate an image by 180 degrees
7
9 cc [ flag... ] file... -lmlib [ library... ]
10 #include <mlib.h>
11
12 mlib_status mlib_ImageRotate180(mlib_image *dst, const mlib_image *src);
13
14
16 Rotate an image 180 degrees.
17
18
19 The width and height of the destination image can be different from the
20 width and height of the source image. The center of the source image is
21 mapped to the center of the destination image.
22
23
24 The data type of the images can be MLIB_BIT, MLIB_BYTE, MLIB_SHORT,
25 MLIB_USHORT, or MLIB_INT.
26
28 The function takes the following arguments:
29
30 dst Pointer to destination image.
31
32
33 src Pointer to source image.
34
35
37 The function returns MLIB_SUCCESS if successful. Otherwise it returns
38 MLIB_FAILURE.
39
41 See attributes(5) for descriptions of the following attributes:
42
43
44
45
46 ┌─────────────────────────────┬─────────────────────────────┐
47 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
48 ├─────────────────────────────┼─────────────────────────────┤
49 │Interface Stability │Committed │
50 ├─────────────────────────────┼─────────────────────────────┤
51 │MT-Level │MT-Safe │
52 └─────────────────────────────┴─────────────────────────────┘
53
55 mlib_ImageFlipAntiDiag(3MLIB), mlib_ImageFlipAntiDiag_Fp(3MLIB),
56 mlib_ImageFlipMainDiag(3MLIB), mlib_ImageFlipMainDiag_Fp(3MLIB),
57 mlib_ImageFlipX(3MLIB), mlib_ImageFlipX_Fp(3MLIB), mlib_Image‐
58 FlipY(3MLIB), mlib_ImageFlipY_Fp(3MLIB), mlib_ImageRotate90(3MLIB),
59 mlib_ImageRotate90_Fp(3MLIB), mlib_ImageRotate180_Fp(3MLIB),
60 mlib_ImageRotate270(3MLIB), mlib_ImageRotate270_Fp(3MLIB),
61 attributes(5)
62
63
64
65SunOS 5.11 2 Mar 2007 mlib_ImageRotate180(3MLIB)