class CBitmapRotator : public CBase |
The public API for clients to call the BitmapTransforms Library bitmap rotation.
Public Member Functions | |
---|---|
~CBitmapRotator() | |
IMPORT_C void | Cancel() |
IMPORT_C TInt | CustomCommand(TUid, TAny *) |
IMPORT_C CBitmapRotator * | NewL() |
IMPORT_C void | Rotate(TRequestStatus *, CFbsBitmap &, CFbsBitmap &, TRotationAngle) |
IMPORT_C void | Rotate(TRequestStatus *, CFbsBitmap &, TRotationAngle) |
Private Member Functions | |
---|---|
CBitmapRotator() | |
void | ConstructL() |
Public Member Enumerations | |
---|---|
enum | TRotationAngle { ERotation90DegreesClockwise, ERotation180DegreesClockwise, ERotation270DegreesClockwise, EMirrorHorizontalAxis, EMirrorVerticalAxis } |
Private Attributes | |
---|---|
CBitmapRotatorBody * | iBody |
IMPORT_C void | Rotate | ( | TRequestStatus * | aRequestStatus, |
CFbsBitmap & | aSrcBitmap, | |||
CFbsBitmap & | aTgtBitmap, | |||
TRotationAngle | aAngle | |||
) |
TRequestStatus * aRequestStatus | |
CFbsBitmap & aSrcBitmap | |
CFbsBitmap & aTgtBitmap | |
TRotationAngle aAngle |
IMPORT_C void | Rotate | ( | TRequestStatus * | aRequestStatus, |
CFbsBitmap & | aBitmap, | |||
TRotationAngle | aAngle | |||
) |
TRequestStatus * aRequestStatus | |
CFbsBitmap & aBitmap | |
TRotationAngle aAngle |
The enumeration provides a set of supported rotation and mirror angles. TRotationAngle is an enumeration within the namespace CBitmapRotator.
ERotation90DegreesClockwise |
Used to rotate a bitmap 90 degrees clockwise. |
ERotation180DegreesClockwise |
Used to rotate a bitmap 180 degrees clockwise. |
ERotation270DegreesClockwise |
Used to rotate a bitmap 270 degrees clockwise. |
EMirrorHorizontalAxis |
Used to mirror a bitmap about the horizontal axis. |
EMirrorVerticalAxis |
Used to mirror a bitmap about the vertical axis. |