TAcceleratedBitmapInfo Class Reference

#include <graphicsaccelerator.h>

class TAcceleratedBitmapInfo
Public Attributes
union TAcceleratedBitmapInfo::@55@56
union TAcceleratedBitmapInfo::@57@58
TUint8 *iAddress
TInt iDataSize
TDisplayMode iDisplayMode
TInt iLinePitch
TUint8 *iPhysicalAddress
TInt iPixelShift
TSize iSize

Detailed Description

A data structure that holds the information needed to directly access a bitmap.

The bitmap can be a hardware bitmap (RHardwareBitmap), or an ordinary bitmap (CFbsBitmap). An object of this class is filled by calling TAcceleratedBitmapSpec::GetInfo().

See also: RHardwareBitmap CFbsBitmap TAcceleratedBitmapSpec::GetInfo()

Member Attribute Documentation

@56

union TAcceleratedBitmapInfo::@55@56

@58

union TAcceleratedBitmapInfo::@57@58

iAddress

TUint8 *iAddress

The address of the start of the bitmap.

iDataSize

TInt iDataSize

In the case of an extended bitmap, the size of the raw bitmap data.

iDisplayMode

TDisplayMode iDisplayMode

The display mode of the bitmap.

iLinePitch

TInt iLinePitch

The address offset (in bytes) between successive lines in a bitmap. If the bitmap is compressed the line pitch has no meaning so this data member is set to the negation of the compression type. In the case of an extended bitmap it is -EProprietaryCompression.

iPhysicalAddress

TUint8 *iPhysicalAddress

The physical address of the start of the bitmap. This is the address which a hardware graphics accelerator will use and is zero if the bitmap is not accessible to hardware graphics accelerators. Invalid in the case of an extended bitmap.

iPixelShift

TInt iPixelShift

The shift required to obtain the number of bits needed to represent one pixel in the bitmap. The number of bits per pixel is calculated as 1 << iPixelShift. In the case of an extended bitmap this data member is set to the bitmap type UID.

iSize

TSize iSize

The width and height of the bitmap in pixels.