class TImageConvOperation |
Image Conversion Library extensions. When applied together there is an implicit order for operations: 1. Crop or clip. 2. Scale 3. Rotate / mirror over axis. Operation extension for Image Conversion Library. Allows rotation and mirror over axis.
Public Member Functions | |
---|---|
IMPORT_C void | AddOperationL(TOperation) |
IMPORT_C TUint | Capabilities() |
IMPORT_C void | ClearOperationStack() |
Private Member Functions | |
---|---|
TImageConvOperation() | |
void | SetExtension(MImageConvExtension *) |
Public Member Enumerations | |
---|---|
enum | TOperation { ERotation90DegreesClockwise = 0x01, ERotation180DegreesClockwise = 0x02, ERotation270DegreesClockwise = 0x04, EMirrorHorizontalAxis = 0x08, EMirrorVerticalAxis = 0x10 } |
Private Attributes | |
---|---|
MImageConvOperation * | iExtension |
TInt | iReserved |
IMPORT_C void | AddOperationL | ( | TOperation | aOperation | ) |
Set up an operation be applied to the source. May be called more than once to set up a stack of operations, but it is not possible to add more than one operation in a single call. The operations are applied to the image in the same order as they are added.
leave
if more than one TOperation enum is passed for each individual call
TOperation aOperation | The operation to add to the current stack of operations. |
IMPORT_C TUint | Capabilities | ( | ) | const |
Get the codec plugin's capabilities.
Bitmask combination of TOperation. Bit is set if decoder plugin supports the operation.
void | SetExtension | ( | MImageConvExtension * | aExtension | ) | [private] |
MImageConvExtension * aExtension |
Operations or transforms on an image.
ERotation90DegreesClockwise = 0x01 |
Rotate source 90 degrees clockwise. |
ERotation180DegreesClockwise = 0x02 |
Rotate source 180 degrees clockwise. |
ERotation270DegreesClockwise = 0x04 |
Rotate source 270 degrees clockwise. |
EMirrorHorizontalAxis = 0x08 |
Mirror source about the horizontal axis. |
EMirrorVerticalAxis = 0x10 |
Mirror source about the vertical axis. |