CColorQuantizer Class Reference

class CColorQuantizer : public CActive

Inherits from

Constructor & Destructor Documentation

CColorQuantizer(CPalette *, TUint8)

CColorQuantizer(CPalette *aPalette,
TUint8aTransparencyThreshold
)[protected]

Parameters

CPalette * aPalette
TUint8 aTransparencyThreshold

~CColorQuantizer()

~CColorQuantizer()

Member Functions Documentation

DoCancel()

voidDoCancel()[virtual]

Implements cancellation of an outstanding request.

This function is called as part of the active object's Cancel().

It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.

DoCancel() must not wait for event completion; this is handled by Cancel().

CActive::Cancel

InitBitmapSettings(CFbsBitmap &, CFbsBitmap &, CFbsBitmap *, TInt)

voidInitBitmapSettings(CFbsBitmap &aSource,
CFbsBitmap &aDestination,
CFbsBitmap *DestinationMask,
TIntaColorPixels
)[protected]

Parameters

CFbsBitmap & aSource
CFbsBitmap & aDestination
CFbsBitmap * DestinationMask
TInt aColorPixels

Quantize(TRequestStatus *, CFbsBitmap &, CFbsBitmap &, CFbsBitmap *, TInt)

voidQuantize(TRequestStatus *aStatus,
CFbsBitmap &aSource,
CFbsBitmap &aDestination,
CFbsBitmap *aDestinationMask,
TIntaColorPixels
)[pure virtual]

Parameters

TRequestStatus * aStatus
CFbsBitmap & aSource
CFbsBitmap & aDestination
CFbsBitmap * aDestinationMask
TInt aColorPixels

RequestComplete(TInt)

voidRequestComplete(TIntaReason)[protected]

Parameters

TInt aReason

SelfComplete(TInt)

voidSelfComplete(TIntaReason)[protected]

Parameters

TInt aReason

Member Data Documentation

CFbsBitmap * iBitmap

CFbsBitmap *iBitmap[protected]

TSize iBitmapSize

TSize iBitmapSize[protected]

TInt iColorPixels

TInt iColorPixels[protected]

TInt iCurrentPixel

TInt iCurrentPixel[protected]

CFbsBitmap * iDestination

CFbsBitmap *iDestination[protected]

CFbsBitmap * iDestinationMask

CFbsBitmap *iDestinationMask[protected]

CPalette * iPalette

CPalette *iPalette[protected]

TPoint iPixelPt

TPoint iPixelPt[protected]

TRequestStatus * iRequestStatus

TRequestStatus *iRequestStatus[protected]

TUint8 iTransparencyThreshold

TUint8 iTransparencyThreshold[protected]