Location:
BitmapTransforms.h
Link against: bitmaptransforms.lib
class CBitmapRotator : public CBase;
The public API for clients to call the BitmapTransforms Library bitmap rotation.
CBase
- Base class for all classes to be instantiated on the heap
CBitmapRotator
- The public API for clients to call the BitmapTransforms Library bitmap rotation
Defined in CBitmapRotator
:
Cancel()
, CustomCommand()
, EMirrorHorizontalAxis
, EMirrorVerticalAxis
, ERotation180DegreesClockwise
, ERotation270DegreesClockwise
, ERotation90DegreesClockwise
, NewL()
, Rotate()
, Rotate()
, TRotationAngle
, ~CBitmapRotator()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CBitmapRotator *NewL();
Constructs a CBitmapRotator object.
If any errors are encountered this function leaves with an appropriate leave code.
|
IMPORT_C ~CBitmapRotator();
Default destructor for this class.
Frees all resources owned by the object prior to its destruction.
IMPORT_C void Rotate(TRequestStatus *aRequestStatus, CFbsBitmap &aSrcBitmap, CFbsBitmap &aTgtBitmap, TRotationAngle aAngle);
aRequestStatus is not a NULL pointer.
aSrcBitmap is a fully constructed bitmap of unknown size including zero dimension
aTgtBitmap is a fully constructed bitmap of unknown size including zero dimension
aAngle is a member of the enumeration TRotationAngle.
Schedules a rotate/mirror operation on a bitmap supplied in the aSrcBitmap paramter and produces the output pointed to by aTgtBitmap. The CBitmapRotator is an active object and as such provides asynchronous operations. The result of the operation is pointed to by aRequestStatus.
If successful aTgtBitmap contains the rotated bitmap and aRequestStatus points to the value KErrNone. If unsuccessful the bitmap supplied in aSrcBitmap will remain unaltered.
|
|
IMPORT_C void Rotate(TRequestStatus *aRequestStatus, CFbsBitmap &aBitmap, TRotationAngle aAngle);
aRequestStatus is not a NULL pointer.
aBitmap is a fully constructed bitmap of unknown size including zero dimension.
aAngle is a member of the enumeration TRotationAngle.
The function Rotate schedules a rotate/mirror operation on a bitmap supplied in the aBitmap whose output overwrites aBitmap. The result of the operation is pointed to by aRequestStatus.
aBitmap contains the rotated bitmap.
aRequestStatus points to the value KErrorNone.
|
|
IMPORT_C TInt CustomCommand(TUid aUid, TAny *aParam);
When a command requires parameters aParam is not NULL.
Provides custom command capabilties on CBitmapRotator. The command is dispatched on aUid and if the command is not known KErrNotSupported will be returned. This function is synchronous.
|
|
TRotationAngle
The enumeration provides a set of supported rotation and mirror angles. TRotationAngle is an enumeration within the namespace CBitmapRotator.
|