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().
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 |
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.
TInt aHandle | The RHardwareBitmap handle to duplicate. |
IMPORT_C TInt | Create | ( | TDisplayMode | aDisplayMode, |
TSize | aSize, | |||
TUid | aCreatorUid | |||
) | [private] |
TDisplayMode aDisplayMode | |
TSize aSize | |
TUid aCreatorUid |
IMPORT_C TInt | GetInfo | ( | TAcceleratedBitmapInfo & | aInfo | ) | const |
Gets the information needed for accessing a bitmap directly into TAcceleratedBitmapInfo structure.
KErrNone if sucessful, otherwise one of the system error codes, including KErrUnknown if the object's type is ENoBitmap.
TAcceleratedBitmapInfo & aInfo | On return, holds the information needed to directly access the bitmap. |
IMPORT_C TInt | SetAsScreenReference | ( | TInt | aScreen = -1 | ) | [private] |
TInt aScreen = -1 |
TInt | iHandle |
The bitmap's handle; assigned during construction. This is used to identify the bitmap.