Location:
MdaImageConverter.h
Link against: MediaClientImage.lib
CMdaBitmapRotator
Supported from 5.0
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.
|
Defined in CMdaBitmapRotator
:
CancelRotation()
, ERotation180DegreesClockwise
, ERotation270DegreesClockwise
, ERotation90DegreesClockwise
, NewL()
, RotateL()
, TRotationAngle
Inherited from CBase
:
operator new()
static CMdaBitmapRotator* NewL();
Constructs and initialises a new instance of the image rotator.
The function leaves if the image rotator object cannot be created.
|
void RotateL(MMdaImageUtilObserver& aObserver,CFbsBitmap& aSrcBitmap,CFbsBitmap& aTgtBitmap,TRotationAngle aAngle);
void RotateL(MMdaImageUtilObserver& aObserver,CFbsBitmap& aSrcBitmap,TRotationAngle aAngle);
Begins the rotation of a bitmap clockwise through the specified angle — overloaded function.
The operation is asynchronous. When it is complete,
successfully or otherwise, the callback function
MMdaImageUtilObserver::MiuoConvertComplete()
is called, passing
the state of the operation.
|
void CancelRotation();
Cancels the bitmap rotation operation.
The observer callback function
MMdaImageUtilObserver::MiuoConvertComplete()
is not called.
TRotationAngle
Rotation angle
|