
|   |  | |
Location: 
            mdaimageconverter.h
            
Link against: mediaclientimage.lib
            
         
class CMdaBitmapRotator : public CBase;
Replaced by Image Conversion library - see CBitmapRotator
            
         
Rotates a bitmap.
The class offers a simple interface to perform bitmap rotations in clockwise 90 degree increments. The target bitmap is resized as necessary.
CBase - Base class for all classes to be instantiated on the heap
            CMdaBitmapRotator - Replaced by Image Conversion library - see 
               Defined in CMdaBitmapRotator:
            CancelRotation(), EMirrorFlipHorizontal, EMirrorFlipVertical, ERotation180DegreesClockwise, ERotation270DegreesClockwise, ERotation90DegreesClockwise, NewL(), RotateL(), RotateL(), TRotationAngle, ~CMdaBitmapRotator()
            
         
Inherited from CBase:
            Delete(),
            Extension_(),
            operator new()
static IMPORT_C CMdaBitmapRotator *NewL();
Constructs and initialises a new instance of the image rotator.
The function leaves if the image rotator object cannot be created.
| 
 | 
virtual IMPORT_C ~CMdaBitmapRotator();
Default destructor.
Frees all associated resources.
IMPORT_C void RotateL(MMdaImageUtilObserver &aObserver, CFbsBitmap &aSrcBitmap, CFbsBitmap &aTgtBitmap, TRotationAngle aAngle);
Begins the rotation of a bitmap clockwise through the specified angle and writes the output to the specified file.
The operation is asynchronous. When it is complete, successfully or otherwise, the callback function MMdaImageUtilObserver::MiuoConvertComplete() is called, passing the state of the operation.
         
| 
 | 
IMPORT_C void RotateL(MMdaImageUtilObserver &aObserver, CFbsBitmap &aBitmap, TRotationAngle aAngle);
Begins the rotation of a bitmap clockwise through the specified angle.
The operation is asynchronous. When it is complete, successfully or otherwise, the callback function MMdaImageUtilObserver::MiuoConvertComplete() is called, passing the state of the operation.
         
| 
 | 
IMPORT_C void CancelRotation();
Cancels the bitmap rotation operation.
The observer callback function MMdaImageUtilObserver::MiuoConvertComplete() is not called. 
         
TRotationAngle
Rotation angle.
| 
 |