1mlib_ImageFlipMainDiag(3MLImBe)diaLib Library Functiomnlsib_ImageFlipMainDiag(3MLIB)
2
3
4

NAME

6       mlib_ImageFlipMainDiag - main diagonal flip
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_ImageFlipMainDiag(mlib_image *dst, const mlib_image *src);
13
14

DESCRIPTION

16       The mlib_ImageFlipMainDiag() function flips an image on the main diago‐
17       nal.
18
19
20       The width and height of the destination image can be different from the
21       width and height of the source image. The center of the source image is
22       mapped to the center of the destination image.
23
24
25       The data type of the images can  be  MLIB_BIT,  MLIB_BYTE,  MLIB_SHORT,
26       MLIB_USHORT, or MLIB_INT.
27

PARAMETERS

29       The function takes the following arguments:
30
31       dst    Pointer to destination image.
32
33
34       src    Pointer to source image.
35
36

RETURN VALUES

38       The  function  returns MLIB_SUCCESS if successful. Otherwise it returns
39       MLIB_FAILURE.
40

ATTRIBUTES

42       See attributes(5) for descriptions of the following attributes:
43
44
45
46
47       ┌─────────────────────────────┬─────────────────────────────┐
48       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
49       ├─────────────────────────────┼─────────────────────────────┤
50       │Interface Stability          │Committed                    │
51       ├─────────────────────────────┼─────────────────────────────┤
52       │MT-Level                     │MT-Safe                      │
53       └─────────────────────────────┴─────────────────────────────┘
54

SEE ALSO

56       mlib_ImageFlipAntiDiag(3MLIB),        mlib_ImageFlipAntiDiag_Fp(3MLIB),
57       mlib_ImageFlipMainDiag_Fp(3MLIB),  mlib_ImageFlipX(3MLIB),  mlib_Image‐
58       FlipX_Fp(3MLIB),   mlib_ImageFlipY(3MLIB),   mlib_ImageFlipY_Fp(3MLIB),
59       mlib_ImageRotate90(3MLIB),  mlib_ImageRotate90_Fp(3MLIB), mlib_ImageRo‐
60       tate180(3MLIB),      mlib_ImageRotate180_Fp(3MLIB),       mlib_ImageRo‐
61       tate270(3MLIB), mlib_ImageRotate270_Fp(3MLIB), attributes(5)
62
63
64
65SunOS 5.11                        2 Mar 2007     mlib_ImageFlipMainDiag(3MLIB)
Impressum