TAcceleratedBitmapInfo Class Reference

class TAcceleratedBitmapInfo

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

RHardwareBitmap CFbsBitmap TAcceleratedBitmapSpec::GetInfo()

Member Data Documentation

union TAcceleratedBitmapInfo::@59 @60

union TAcceleratedBitmapInfo::@59 @60

TUint8 * iAddress

TUint8 * iAddress

The address of the start of the bitmap.

TInt iDataSize

TInt iDataSize

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

TDisplayMode iDisplayMode

TDisplayMode iDisplayMode

The display mode of the bitmap.

TInt 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.

TUint8 * 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.

TInt 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.

TSize iSize

TSize iSize

The width and height of the bitmap in pixels.