#include <icl/imageconversionextension.h>
class TImageConvOperation |
Public Member Enumerations | |
---|---|
enum | TOperation { ERotation90DegreesClockwise, ERotation180DegreesClockwise, ERotation270DegreesClockwise, EMirrorHorizontalAxis, EMirrorVerticalAxis } |
Public Member Functions | |
---|---|
IMPORT_C void | AddOperationL(TOperation) |
IMPORT_C TUint | Capabilities() |
IMPORT_C void | ClearOperationStack() |
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.
Operations or transforms on an image.
Enumerator | Value | Description |
---|---|---|
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. |
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.
Parameters | |
---|---|
aOperation | The operation to add to the current stack of operations. |
Leave Codes | |
---|---|
if | more than one TOperation enum is passed for each individual call |
IMPORT_C TUint | Capabilities | ( | ) | const |
Get the codec plugin's capabilities.