RHardwareBitmap Class Reference

#include <graphicsaccelerator.h>

class RHardwareBitmap
Public Attributes
TInt iHandle
Public Member Functions
RHardwareBitmap()
RHardwareBitmap(TInt)
IMPORT_C TIntGetInfo(TAcceleratedBitmapInfo &)

Detailed Description

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().

See also: CHardwareGraphicsAccelerator::NewL()

Member Attribute Documentation

iHandle

TInt iHandle

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

Constructor & Destructor Documentation

RHardwareBitmap ( )

RHardwareBitmap()[inline]

Default constructor.

Default constructor. Initialises the handle to zero.

RHardwareBitmap ( TInt )

RHardwareBitmap(TIntaHandle)[inline]

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

Constructor taking the handle of an existing RHardwareBitmap to duplicate.

ParameterDescription
aHandleThe RHardwareBitmap handle to duplicate.

Member Function Documentation

GetInfo ( TAcceleratedBitmapInfo & )

IMPORT_C TIntGetInfo(TAcceleratedBitmapInfo &aInfo)const

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

Fills a structure with data which describes the basic details of this bitmap.

ParameterDescription
aInfoBitmap information structure to fill with the details of this bitmap.

Returns: KErrNone if sucessful, otherwise one of the system error codes, including KErrUnknown if the object's type is ENoBitmap.KErrNone if successful, KErrBadHandle if a value has not been assigned to iHandle.