beautypg.com

Rotate, 34 rotate, Fe2_rotate_angle – Google Flix Engine Linux Reference Manual User Manual

Page 149: Also, Fe2_filter_rotate, 1 detailed description, Defines, 2 define documentation

background image

5.34 Rotate

143

5.34

Rotate

5.34.1

Detailed Description

The rotate filter rotates the source clockwise by the angle specified by

FE2_ROTATE_ANGLE

.

Filter Parameters:

Name

|

Type

| Opt/Reqd |

Range

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

FE2_ROTATE_ANGLE

| Numeric

| Optional | {0,90,180,270}

Example Usage:

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

// rotate source 90 degrees clockwise

if(sc == ON2_OK)

sc = Flix2_FilterSetParam(filter, FE2_ROTATE_ANGLE, 90.0);

Defines

• #define

FE2_FILTER_ROTATE

Filter name for use with

Flix2_AddFilter()

.

• #define

FE2_ROTATE_ANGLE

Specifies the image rotation angle in degrees.

5.34.2

Define Documentation

5.34.2.1

#define FE2_FILTER_ROTATE

Filter name for use with

Flix2_AddFilter()

.

Definition at line 45 of file rotate.h.

5.34.2.2

#define FE2_ROTATE_ANGLE

Specifies the image rotation angle in degrees.

The source is rotated clockwise.

Note:

Default: 0.0 (no rotation)
Valid range: {0,90,180,270}

Definition at line 52 of file rotate.h.

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