Mirror, 30 mirror, 1 detailed description – Google Flix Engine Linux Reference Manual User Manual

Page 124: Defines, 2 define documentation

Advertising
background image

118

Flix Engine Linux Module Documentation

5.30

Mirror

5.30.1

Detailed Description

The mirror filter mirrors (flips) the source along the horizontal axis, vertical axis or both.

Filter Parameters:

Name

|

Type

| Opt/Reqd |

Range

==============================================================================

FE2_MIRROR_HORIZONTAL

| Numeric

| Optional | {on2false,on2true}

FE2_MIRROR_VERTICAL

| Numeric

| Optional | {on2false,on2true}

Example Usage:

sc = Flix2_AddFilter(&filter, flix, FE2_FILTER_MIRROR);

// flip the image horizontally

if(sc == ON2_OK)

sc = Flix2_FilterSetParam(filter, FE2_MIRROR_HORIZONTAL, on2true);

Note:

Setting both

FE2_MIRROR_HORIZONTAL

and

FE2_MIRROR_VERTICAL

is equivalent to setting

FE2_ROTATE_ANGLE

to 180

See also:

FE2_FILTER_ROTATE

Defines

• #define

FE2_FILTER_MIRROR

Filter name for use with

Flix2_AddFilter()

.

• #define

FE2_MIRROR_HORIZONTAL

Specifies horizontal disposition.

• #define

FE2_MIRROR_VERTICAL

Specifies vertical disposition.

5.30.2

Define Documentation

5.30.2.1

#define FE2_FILTER_MIRROR

Filter name for use with

Flix2_AddFilter()

.

Definition at line 49 of file mirror.h.

5.30.2.2

#define FE2_MIRROR_HORIZONTAL

Specifies horizontal disposition.

Mirror (flip) the image along the horizontal axis

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Advertising