CBitmapScaler Class Reference

class CBitmapScaler : public CBase

The public API for clients to call the BitmapTransforms Library bitmap scaling.

Inherits from

Constructor & Destructor Documentation

CBitmapScaler()

CBitmapScaler()[private]

~CBitmapScaler()

IMPORT_C~CBitmapScaler()

Member Functions Documentation

Cancel()

IMPORT_C voidCancel()

ConstructL()

voidConstructL()[private]

CustomCommand(TUid, TAny *)

IMPORT_C TIntCustomCommand(TUidaUid,
TAny *aParam
)

Parameters

TUid aUid
TAny * aParam

DisablePostProcessing(TBool)

TInt DisablePostProcessing(TBoolaState)[inline]

SetPostProcessing

Parameters

TBool aStatea boolean flag which if true will set post processing on (Note by defualt the scaler has post processing on)

NewL()

IMPORT_C CBitmapScaler *NewL()[static]

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

IMPORT_C voidScale(TRequestStatus *aRequestStatus,
CFbsBitmap &aSrcBitmap,
CFbsBitmap &aTgtBitmap,
TBoolaMaintainAspectRatio = ETrue
)

Parameters

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

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

IMPORT_C voidScale(TRequestStatus *aRequestStatus,
CFbsBitmap &aBitmap,
const TSize &aDestinationSize,
TBoolaMaintainAspectRatio = ETrue
)

Parameters

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

SetQualityAlgorithm(TQualityAlgorithm)

TInt SetQualityAlgorithm(TQualityAlgorithmaQualityLevel)[inline]

SetQualityAlgorithm

Parameters

TQualityAlgorithm aQualityLevelan enumeration which sets the quality algorithm

UseLowMemoryAlgorithm(TBool)

TInt UseLowMemoryAlgorithm(TBoolaState)[inline]

UseLowMemory

Parameters

TBool aStatea boolean flag which if true will enable the low memory algorithm (Note by defualt the scaler does not use the low memory algorithm)

Member Enumerations Documentation

Enum TQualityAlgorithm

An enumeration to specify the level of quality algorithm.

Enumerators

EMinimumQuality

Fastest/lowest quality

EMediumQuality

Middle range speed/middle range quality

EMaximumQuality

Slowest/highest quality

Member Data Documentation

CBitmapScalerBody * iBody

CBitmapScalerBody *iBody[private]