CBitmapScalerBody Class Reference

class CBitmapScalerBody : public CBase

Body of CBitmapScaler

Inherits from

Constructor & Destructor Documentation

CBitmapScalerBody()

CBitmapScalerBody()[private]

~CBitmapScalerBody()

~CBitmapScalerBody()[private]

Member Functions Documentation

Cancel()

voidCancel()[private, inline]

ConstructL()

voidConstructL()[private]

CustomCommand(TUid, TAny *)

TInt CustomCommand(TUidaUid,
TAny *aParam
)[private]

Parameters

TUid aUid
TAny * aParam

NewL()

CBitmapScalerBody *NewL()[private, static]

Scale(TRequestStatus *, CFbsBitmap &, CFbsBitmap &, TBool)

voidScale(TRequestStatus *aRequestStatus,
CFbsBitmap &aSrcBitmap,
CFbsBitmap &aTgtBitmap,
TBoolaMaintainAspectRatio = ETrue
)[private]

Parameters

TRequestStatus * aRequestStatus
CFbsBitmap & aSrcBitmap
CFbsBitmap & aTgtBitmap
TBool aMaintainAspectRatio = ETrue

Scale(TRequestStatus *, CFbsBitmap &, const TSize &, TBool)

voidScale(TRequestStatus *aRequestStatus,
CFbsBitmap &aBitmap,
const TSize &aDestinationSize,
TBoolaMaintainAspectRatio = ETrue
)[private, inline]

Begins the bitmap re-scaling operation.

The scaling factor is based on the relative value of the source bitmap size and the explicitly supplied size. The operation is asynchronous. When it is complete, successfully or otherwise, the TRequestStatus& is set, passing the state of the operation.

Parameters

TRequestStatus * aRequestStatus
CFbsBitmap & aBitmap
const TSize & aDestinationSize
TBool aMaintainAspectRatio = ETrue

Member Data Documentation

TUid iDestructorKey

TUid iDestructorKey[private]

MBitmapScalerPlugin * iPlugin

MBitmapScalerPlugin *iPlugin[private]