CApaMaskedBitmap Class Reference

class CApaMaskedBitmap : public CFbsBitmap

An application icon.

This is a bitmap and a mask, managed by the Font and Bitmap server.

An object of this type is passed to RApaLsSession::GetAppIcon() to fetch a suitable application icon.

RApaLsSession::GetAppIcon()

Inherits from

Public Member Functions
~CApaMaskedBitmap()
IMPORT_C voidExternalizeL(RWriteStream &)
IMPORT_C voidInternalizeL(RReadStream &)
IMPORT_C CFbsBitmap *Mask()
IMPORT_C CApaMaskedBitmap *NewL(const CApaMaskedBitmap *)
IMPORT_C CApaMaskedBitmap *NewLC()
IMPORT_C voidSetMaskBitmap(CFbsBitmap *)
voidSetRomBitmapL(TUint8 *)
Private Member Functions
CApaMaskedBitmap()
voidConstructL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CFbsBitmap::Address()const
CFbsBitmap::BeginDataAccess()const
CFbsBitmap::BeginDataAccessAndGetCleanAddress(TUint32 *&)const
CFbsBitmap::CFbsBitmap()
CFbsBitmap::CleanAddress()const
CFbsBitmap::Compress()
CFbsBitmap::Compress(TBitmapfileCompressionScheme)
CFbsBitmap::CompressInBackground()
CFbsBitmap::CompressInBackground(TBitmapfileCompressionScheme)
CFbsBitmap::CompressInBackground(TRequestStatus &)
CFbsBitmap::CompressInBackground(TRequestStatus &,TBitmapfileCompressionScheme)
CFbsBitmap::Create(const TSize &,TDisplayMode)
CFbsBitmap::CreateExtendedBitmap(const TSize &,TDisplayMode,TUid,TInt,MFbsExtendedBitmapInitializer &)
CFbsBitmap::CreateExtendedBitmap(const TSize &,TDisplayMode,TUid,const TAny *,TInt)
CFbsBitmap::CreateHardwareBitmap(const TSize &,TDisplayMode,TUid)
CFbsBitmap::DataAddress()const
CFbsBitmap::DataSize()const
CFbsBitmap::DataStride()const
CFbsBitmap::DisplayMode()const
CFbsBitmap::DoCreate(const TSize &,TDisplayMode,TUid,TInt)
CFbsBitmap::DoSaveL(RFile &)
CFbsBitmap::Duplicate(TInt)
CFbsBitmap::EndDataAccess(TBool)const
CFbsBitmap::ExtendedBitmapType()const
CFbsBitmap::ExternalizeRectangleL(RWriteStream &,const TRect &)const
CFbsBitmap::GetAllBitmapHandles(RArray< TInt > &)const
CFbsBitmap::GetDecompressionBuffer(TInt)
CFbsBitmap::GetExtraBuffer(TInt)
CFbsBitmap::GetPalette(CPalette *&)const
CFbsBitmap::GetPixel(TRgb &,const TPoint &)const
CFbsBitmap::GetScanLine(TDes8 &,const TPoint &,TInt,TDisplayMode)const
CFbsBitmap::GetScanLine(TDes8 &,const TPoint &,TInt,const TPoint &,TDisplayMode)const
CFbsBitmap::GetVerticalScanLine(TDes8 &,TInt,TDisplayMode)const
CFbsBitmap::GetVerticalScanLine(TDes8 &,TInt,const TPoint &,TDisplayMode)const
CFbsBitmap::Handle()const
CFbsBitmap::HardwareBitmapHandle()const
CFbsBitmap::Header()const
CFbsBitmap::HorizontalPixelsToTwips(TInt)const
CFbsBitmap::HorizontalTwipsToPixels(TInt)const
CFbsBitmap::InitialDisplayMode()const
CFbsBitmap::IsCompressedInRAM()const
CFbsBitmap::IsFileInRom(RFile &,TUint32 *&)
CFbsBitmap::IsFileInRom(const TDesC &,TUint32 *&)
CFbsBitmap::IsLargeBitmap()const
CFbsBitmap::IsMonochrome()const
CFbsBitmap::IsRomBitmap()const
CFbsBitmap::IsVolatile()const
CFbsBitmap::Load(RFile &,TInt32,TBool)
CFbsBitmap::Load(RFile &,TInt32,TBool,TUint)
CFbsBitmap::Load(const TDesC &,TInt32,TBool)
CFbsBitmap::Load(const TDesC &,TInt32,TBool,TUint)
CFbsBitmap::LoadAndCompress(RFile &,TInt32,TBool)
CFbsBitmap::LoadAndCompress(RFile &,TInt32,TBool,TUint)
CFbsBitmap::LoadAndCompress(const TDesC &,TInt32,TBool)
CFbsBitmap::LoadAndCompress(const TDesC &,TInt32,TBool,TUint)
CFbsBitmap::LockHeap(TBool)const
CFbsBitmap::LockHeapLC(TBool)const
CFbsBitmap::PaletteAttributes(TBool &,TInt &)const
CFbsBitmap::Rasterizer()
CFbsBitmap::Reset()
CFbsBitmap::Resize(const TSize &)
CFbsBitmap::Save(RFile &)
CFbsBitmap::Save(const TDesC &)
CFbsBitmap::ScanLineLength(TInt,TDisplayMode)
CFbsBitmap::SerialNumber()const
CFbsBitmap::SetDisplayMode(TDisplayMode)
CFbsBitmap::SetPalette(CPalette *)
CFbsBitmap::SetRomBitmapL(CBitwiseBitmap *,TInt &)
CFbsBitmap::SetScanLine(TDes8 &,TInt)const
CFbsBitmap::SetSizeInTwips(const MGraphicsDeviceMap *)
CFbsBitmap::SetSizeInTwips(const TSize &)
CFbsBitmap::SizeInPixels()const
CFbsBitmap::SizeInTwips()const
CFbsBitmap::StoreL(RFile &,TInt,const TDesC *,TInt32)
CFbsBitmap::StoreL(const TDesC &,TInt,const TDesC *,TInt32)
CFbsBitmap::SwapWidthAndHeight()
CFbsBitmap::TouchCount()const
CFbsBitmap::UnlockHeap(TAny *)
CFbsBitmap::UnlockHeap(TBool)const
CFbsBitmap::VerticalPixelsToTwips(TInt)const
CFbsBitmap::VerticalTwipsToPixels(TInt)const
CFbsBitmap::~CFbsBitmap()
Inherited Enumerations
CFbsBitmap:@52
Private Attributes
CFbsBitmap *iMask
Inherited Attributes
CFbsBitmap::iAddressPointer
CFbsBitmap::iFbs
CFbsBitmap::iFlags
CFbsBitmap::iHandle
CFbsBitmap::iServerHandle
CFbsBitmap::iUseCount

Constructor & Destructor Documentation

CApaMaskedBitmap()

CApaMaskedBitmap()[private]

~CApaMaskedBitmap()

IMPORT_C~CApaMaskedBitmap()

Destructor.

Frees resources owned by the object prior to its destruction.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalises the application icon to the specified stream.

Parameters

RWriteStream & aStreamThe write stream.

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Internalizes the application icon from the read stream.

Parameters

RReadStream & aStreamThe read stream.

Mask()

IMPORT_C CFbsBitmap *Mask()const

Gets the icon's mask.

NewL(const CApaMaskedBitmap *)

IMPORT_C CApaMaskedBitmap *NewL(const CApaMaskedBitmap *aSourceIcon)[static]

Creates a new application icon object, making a duplicate copy of an existing application icon.

Parameters

const CApaMaskedBitmap * aSourceIconA pointer to an existing application icon.

NewLC()

IMPORT_C CApaMaskedBitmap *NewLC()[static]

Creates a default application icon object.

SetMaskBitmap(CFbsBitmap *)

IMPORT_C voidSetMaskBitmap(CFbsBitmap *aMask)

Sets the icon's mask

Parameters

CFbsBitmap * aMaskA pointer to the mask bitmap

SetRomBitmapL(TUint8 *)

voidSetRomBitmapL(TUint8 *aRomPointer)

Parameters

TUint8 * aRomPointer

Member Data Documentation

CFbsBitmap * iMask

CFbsBitmap *iMask[private]