COrientationTransformExtension Class Reference

class COrientationTransformExtension : public CImageTransformPluginExtension

The Orientation Extension to the ImageTransform plugin.

The class provides the methods to set the image orientation and is intended to be implemented by the plugins supporting the rotation of the image based on the orientation. The plugin supporting this extension must use the opaque_data v2 format in RSS file and also the orientation flag must be set in the opaque_data. The client must retrieve this extension implementation from the plugin using its extension UID.

Inherits from

Member Functions Documentation

DoSetOrientationL(TOrientation)

voidDoSetOrientationL(TOrientationaOrientation)[protected, pure virtual]

Parameters

TOrientation aOrientation

ReservedVirtual5()

IMPORT_C voidReservedVirtual5()[private, virtual]

Reserved for future-proofing

SetOrientationL(TOrientation)

IMPORT_C voidSetOrientationL(TOrientationaOrientation)

This function sets the orientation of the image

Parameters

TOrientation aOrientationThe orientation of the image

Member Enumerations Documentation

Enum TOrientation

The possible orientations of the image. Similar to the EXIF orientation tag

Enumerators

ERotationNone = 1

No rotation done

ERotation90DegreesClockwise = 6

Rotate the image clockwise through 90 degrees.

ERotation180DegreesClockwise = 3

Rotate the image clockwise through 180 degrees.

ERotation270DegreesClockwise = 8

Rotate the image clockwise through 270 degrees.

EMirrorVerticalAxis = 2

Mirror the image over its vertical axis

EMirrorHorizontalAxis = 4

Mirror the image over its horizontal axis

ETransposeOverMainDiagonal = 5

Transpose (or mirror) the image across a diagonal running from top-left to lower-right.

ETransposeOverMinorDiagonal = 7

Transpose (or mirror) the image across a diagonal running from top-right to lower-left.

Member Data Documentation

TAny * iPad

TAny *iPad[private]