#include <graphicsaccelerator.h>
class RHardwareBitmap |
Public Attributes | |
---|---|
TInt | iHandle |
Public Member Functions | |
---|---|
RHardwareBitmap() | |
RHardwareBitmap(TInt) | |
IMPORT_C TInt | GetInfo(TAcceleratedBitmapInfo &) |
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()
TInt | iHandle |
The bitmap's handle; assigned during construction. This is used to identify the bitmap.
RHardwareBitmap | ( | ) | [inline] |
Default constructor.
Default constructor. Initialises the handle to zero.
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.
Parameter | Description |
---|---|
aHandle | The RHardwareBitmap handle to duplicate. |
IMPORT_C TInt | GetInfo | ( | 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.
Parameter | Description |
---|---|
aInfo | Bitmap 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.