COrientationTransformExtension Class Reference
#include
"orientationtransformextension.h"
Link against: imagetransform.lib
class COrientationTransformExtension : public CImageTransformPluginExtension |
Inherits from
- COrientationTransformExtension
Detailed Description
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.
Member Enumeration Documentation
Enum TOrientation
The possible orientations of the image. Similar to the EXIF orientation tag
Enumerator | Value | Description |
---|
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 Function Documentation
DoSetOrientationL ( TOrientation )
void | DoSetOrientationL | ( | TOrientation | aOrientation | ) | [protected, pure virtual] |
SetOrientationL ( TOrientation )
This function sets the orientation of the image
Parameter | Description | aOrientation | The orientation of the image |