| class CBitmapScaler : public CBase |
The public API for clients to call the BitmapTransforms Library bitmap scaling.
| Public Member Functions | |
|---|---|
| ~CBitmapScaler() | |
| IMPORT_C void | Cancel() |
| IMPORT_C TInt | CustomCommand(TUid, TAny *) |
| TInt | DisablePostProcessing(TBool) |
| IMPORT_C CBitmapScaler * | NewL() |
| IMPORT_C void | Scale(TRequestStatus *, CFbsBitmap &, CFbsBitmap &, TBool) |
| IMPORT_C void | Scale(TRequestStatus *, CFbsBitmap &, const TSize &, TBool) |
| TInt | SetQualityAlgorithm(TQualityAlgorithm) |
| TInt | UseLowMemoryAlgorithm(TBool) |
| Private Member Functions | |
|---|---|
| CBitmapScaler() | |
| void | ConstructL() |
| Public Member Enumerations | |
|---|---|
| enum | TQualityAlgorithm { EMinimumQuality, EMediumQuality, EMaximumQuality } |
| Private Attributes | |
|---|---|
| CBitmapScalerBody * | iBody |
| TInt | DisablePostProcessing | ( | TBool | aState | ) | [inline] |
SetPostProcessing
| TBool aState | a boolean flag which if true will set post processing on (Note by defualt the scaler has post processing on) |
| IMPORT_C void | Scale | ( | TRequestStatus * | aRequestStatus, |
| CFbsBitmap & | aSrcBitmap, | |||
| CFbsBitmap & | aTgtBitmap, | |||
| TBool | aMaintainAspectRatio = ETrue | |||
| ) | ||||
| TRequestStatus * aRequestStatus | |
| CFbsBitmap & aSrcBitmap | |
| CFbsBitmap & aTgtBitmap | |
| TBool aMaintainAspectRatio = ETrue |
| IMPORT_C void | Scale | ( | TRequestStatus * | aRequestStatus, |
| CFbsBitmap & | aBitmap, | |||
| const TSize & | aDestinationSize, | |||
| TBool | aMaintainAspectRatio = ETrue | |||
| ) | ||||
| TRequestStatus * aRequestStatus | |
| CFbsBitmap & aBitmap | |
| const TSize & aDestinationSize | |
| TBool aMaintainAspectRatio = ETrue |
| TInt | SetQualityAlgorithm | ( | TQualityAlgorithm | aQualityLevel | ) | [inline] |
SetQualityAlgorithm
| TQualityAlgorithm aQualityLevel | an enumeration which sets the quality algorithm |
| TInt | UseLowMemoryAlgorithm | ( | TBool | aState | ) | [inline] |
UseLowMemory
| TBool aState | a boolean flag which if true will enable the low memory algorithm (Note by defualt the scaler does not use the low memory algorithm) |
An enumeration to specify the level of quality algorithm.
| EMinimumQuality |
Fastest/lowest quality |
| EMediumQuality |
Middle range speed/middle range quality |
| EMaximumQuality |
Slowest/highest quality |