Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <GraphicsAccelerator.h>
Link against: _integrator_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(RHardwareBitmap).

Members

Defined in RHardwareBitmap:

See also:


Construction and destruction


RHardwareBitmap()

inline RHardwareBitmap();

Description

Default constructor.


RHardwareBitmap(TInt)

inline RHardwareBitmap(TInt aHandle);

Description

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

Parameters

TInt aHandle

[Top]


Member functions


GetInfo(TAcceleratedBitmapInfo &)const

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.