Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: GraphicsAccelerator.h
Link against: _lubbock_scdv.lib

Class RHardwareBitmap

class RHardwareBitmap;

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

Members

Defined in RHardwareBitmap:
GetInfo(), RHardwareBitmap(), RHardwareBitmap(), iHandle

See also:


Construction and destruction


RHardwareBitmap()

inline RHardwareBitmap();

Description

Default constructor.


RHardwareBitmap()

inline RHardwareBitmap(TInt aHandle);

Description

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

Parameters

TInt aHandle

[Top]


Member functions


GetInfo()

IMPORT_C TInt GetInfo(TAcceleratedBitmapInfo &aInfo) const;

Description

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.

Return value

TInt

KErrNone if sucessful, otherwise one of the system error codes, including KErrUnknown if the object's type is ENoBitmap.

[Top]


Member data


iHandle

TInt iHandle;

Description

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