RHardwareBitmap Class Reference

class RHardwareBitmap

The interface to a hardware bitmap.

This is a bitmap that can be drawn to by graphics acceleration hardware. It is stored in a contiguous area of physical memory.

After creating the hardware bitmap, it can be passed to CHardwareGraphicsAccelerator::NewL() .

CHardwareGraphicsAccelerator::NewL()

Public Member Functions
RHardwareBitmap ()
RHardwareBitmap ( TInt )
IMPORT_C TInt GetInfo ( TAcceleratedBitmapInfo &)
Private Member Functions
IMPORT_C TInt Create ( TDisplayMode , TSize , TUid )
IMPORT_C void Destroy ()
IMPORT_C TInt SetAsScreenReference ( TInt )
Public Attributes
TInt iHandle

Constructor & Destructor Documentation

RHardwareBitmap()

RHardwareBitmap ( ) [inline]

Default constructor.

Default constructor. Initialises the handle to zero.

RHardwareBitmap(TInt)

RHardwareBitmap ( TInt aHandle ) [inline]

Constructor taking the handle of an existing RHardwareBitmap to duplicate it.

Constructor taking the handle of an existing RHardwareBitmap to duplicate.

Parameters

TInt aHandle The RHardwareBitmap handle to duplicate.

Member Functions Documentation

Create(TDisplayMode, TSize, TUid)

IMPORT_C TInt Create ( TDisplayMode aDisplayMode,
TSize aSize,
TUid aCreatorUid
) [private]

Parameters

TDisplayMode aDisplayMode
TSize aSize
TUid aCreatorUid

Destroy()

IMPORT_C void Destroy ( ) [private]

GetInfo(TAcceleratedBitmapInfo &)

IMPORT_C TInt GetInfo ( TAcceleratedBitmapInfo & aInfo ) const

Gets the information needed for accessing a bitmap directly into TAcceleratedBitmapInfo structure.

Parameters

TAcceleratedBitmapInfo & aInfo On return, holds the information needed to directly access the bitmap.

SetAsScreenReference(TInt)

IMPORT_C TInt SetAsScreenReference ( TInt aScreen = -1 ) [private]

Parameters

TInt aScreen = -1

Member Data Documentation

TInt iHandle

TInt iHandle

The bitmap's handle; assigned during construction. This is used to identify the bitmap.