|
||
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()
Cancels any outstanding action. CustomCommand(TUid,TAny *)
Provides custom command capabilties on CBitmapRotator. The command is dispatched...EMirrorHorizontalAxis
Used to mirror a bitmap about the horizontal axis.EMirrorVerticalAxis
Used to mirror a bitmap about the vertical axis.ERotation180DegreesClockwise
Used to rotate a bitmap 180 degrees clockwise.ERotation270DegreesClockwise
Used to rotate a bitmap 270 degrees clockwise.ERotation90DegreesClockwise
Used to rotate a bitmap 90 degrees clockwise.NewL()
Constructs a CBitmapRotator object.Rotate(TRequestStatus *,CFbsBitmap &,CFbsBitmap &,TRotationAngle)
Schedules a rotate/mirror operation on a bitmap supplied in the aSrcBitmap param...Rotate(TRequestStatus *,CFbsBitmap &,TRotationAngle)
The function Rotate schedules a rotate/mirror operation on a bitmap supplied in ...TRotationAngle
The enumeration provides a set of supported rotation and mirror angles. TRotatio...~CBitmapRotator()
Default destructor for this class.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C static 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.
|