CDrawBitmap Class Reference

class CDrawBitmap : public CFbsDrawDevice

Inherits from

Public Member Functions
~CDrawBitmap()
TDisplayMode DisplayMode()
TInt FastBlendBitmap(const TPoint &, CFbsDrawDevice *, const TRect &, CGraphicsContext::TDrawMode, TInt)
TInt FastBlendBitmap(const TPoint &, const TUint32 *, TInt, const TSize &, const TRect &, TDisplayMode, CGraphicsContext::TDrawMode, TInt)
TInt FastBlendBitmapMasked(const TPoint &, const TUint32 *, TInt, const TSize &, const TRect &, TDisplayMode, const TUint32 *, TInt, TDisplayMode, const TSize &, const TPoint &, TBool, CGraphicsContext::TDrawMode, TInt)
TInt FastBlendBitmapMaskedScaled(const TRect &, const TRect &, const TRect &, const TUint32 *, TInt, TDisplayMode, const TSize &, const TUint32 *, TInt, TDisplayMode, const TSize &, TBool, CGraphicsContext::TDrawMode, TInt)
TInt FastBlendBitmapScaled(const TRect &, const TRect &, const TRect &, const TUint32 *, TInt, TDisplayMode, const TSize &, CGraphicsContext::TDrawMode, TInt)
voidGet(TInt &, TInt &, TInt &, TInt &)
voidGet(TPoint &)
voidGetDrawRect(TRect &)
TInt GetInterface(TInt, TAny *&)
TInt HorzTwipsPerThousandPixels()
TBool IsScalingOff()
TInt LongWidth()
voidMapColors(const TRect &, const TRgb *, TInt, TBool)
CFbsDrawDevice::TOrientation Orientation()
voidOrientationsAvailable(TBool)
voidReadLine(TInt, TInt, TInt, TAny *, TDisplayMode)
TRgb ReadPixel(TInt, TInt)
TUint32 *ScanLineBuffer()
TInt ScanLineBytes()
TDisplayMode ScanLineDisplayMode()
TInt Set(TInt, TInt, TInt, TInt)
TInt Set(const TPoint &)
voidSetBits(TAny *)
voidSetDitherOrigin(const TPoint &)
voidSetFadingParameters(TUint8, TUint8)
TBool SetOrientation(TOrientation)
voidSetShadowMode(TShadowMode)
voidSetUserDisplayMode(TDisplayMode)
TSize SizeInPixels()
voidSwapWidthAndHeight()
TInt VertTwipsPerThousandPixels()
voidWriteBinary(TInt, TInt, TUint32 *, TInt, TInt, TRgb, CGraphicsContext::TDrawMode)
voidWriteBinaryLine(TInt, TInt, TUint32 *, TInt, TRgb, CGraphicsContext::TDrawMode)
voidWriteBinaryLineVertical(TInt, TInt, TUint32 *, TInt, TRgb, CGraphicsContext::TDrawMode, TBool)
voidWriteLine(TInt, TInt, TInt, TUint32 *, CGraphicsContext::TDrawMode)
voidWriteRgb(TInt, TInt, TRgb, CGraphicsContext::TDrawMode)
voidWriteRgbAlphaLine(TInt, TInt, TInt, TUint8 *, TUint8 *, CGraphicsContext::TDrawMode)
voidWriteRgbAlphaLine(TInt, TInt, TInt, const TUint8 *, const TUint8 *, const TUint8 *, CGraphicsContext::TDrawMode)
voidWriteRgbMulti(TInt, TInt, TInt, TInt, TRgb, CGraphicsContext::TDrawMode)
Protected Member Functions
CDrawBitmap()
voidANDPixels(TPixelType *, TPixelType, const TPixelType *, const TPixelType *, const TPixelType *)
TInt BitsPerPixel(TDisplayMode)
voidBlendLine(TInt, TInt, TInt, TUint32 *)
voidBlendRgbMulti(TInt, TInt, TInt, TInt, TRgb)
TBool CanBeScaled()
TBool CanOriginBeMoved()
voidClear()
TAny *CopyOffset(TAny *, const TAny *, TInt, TInt)
voidCopyOldSettings(CFbsDrawDevice *)
voidDeOrientate(TInt &, TInt &)
TPoint DeOrientate(const TPoint &)
TRect DeOrientate(const TRect &)
TUint8 FadeGray(TInt)
TRgb FadeRgb(TRgb)
TUint32 FadeRgb(TUint32)
voidFadeRgb(TInt &, TInt &, TInt &)
TUint32 Hash(TUint32, TInt, TInt)
voidIncScaledY(TInt &)
voidIncScaledY(TInt &, TInt)
voidInvertBuffer(TInt, TUint32 *)
TInt LogicalPixelAddressIncrement()
voidMapBufferToUserDisplayMode(TInt, TUint32 *)
voidMapColorToUserDisplayMode(TInt &, TInt &, TInt &)
voidMapColorToUserDisplayMode(TRgb &)
voidORPixels(TPixelType *, TPixelType, const TPixelType *, const TPixelType *, const TPixelType *)
TUint32 PasteInt(TUint32, TUint32, TInt)
TInt PixelAddressIncrement()
voidReadLine(TInt, TInt, TInt, TAny *)
voidReadLineCommon(TUint32 *, TUint32 *, TInt, TInt, TInt, TInt)
TRgb ReadRgbNormal(TInt, TInt)
TUint32 *ScanLine(TInt)
voidSetPixelInc(TInt &, TInt &)
voidSetPixels(TPixelType *, TPixelType, const TPixelType *, const TPixelType *, const TPixelType *)
voidSetSize(const TSize &)
voidShadow(TRgb &)
voidWriteBinary(TInt, TInt, TUint32 *, TInt, TInt, TRgb)
voidWriteBinaryLineVertical(TInt, TInt, TUint32 *, TInt, TRgb, TBool)
voidWriteBinaryOp(TInt, TInt, TUint32 *, TInt, TInt, TRgb, CGraphicsContext::TDrawMode)
voidWriteLine(TInt, TInt, TInt, TUint32 *)
voidWriteLineAND(TInt, TInt, TInt, TUint32 *)
voidWriteLineOR(TInt, TInt, TInt, TUint32 *)
voidWriteLineXOR(TInt, TInt, TInt, TUint32 *)
voidWriteRgb(TInt, TInt, TRgb)
voidWriteRgbMulti(TInt, TInt, TInt, TInt, TRgb)
voidWriteRgbMultiAND(TInt, TInt, TInt, TInt, TRgb)
voidWriteRgbMultiOR(TInt, TInt, TInt, TInt, TRgb)
voidWriteRgbMultiXOR(TInt, TInt, TInt, TInt, TRgb)
voidXORPixels(TPixelType *, TPixelType, const TPixelType *, const TPixelType *, const TPixelType *)
Private Member Functions
voidDoCopyOldSettings(CFbsDrawDevice *)
TInt DoFastBlendBitmap(const TPoint &, const TRect &, const TUint8 *, TInt, TDisplayMode, const TSize &)
TBool FastBlendMaskSupported(TDisplayMode, TInt)
TBool FastBlendSupported(TDisplayMode, CGraphicsContext::TDrawMode, TInt, TInt)
voidGetBlendPosAndRect(TRect &, const TRect &, const TSize &, const TPoint &)
voidGetBlendPosAndRect(TRect &, TRect &, const TRect &, const TRect &, const TSize &)
voidInitLogicalCoordinates()
TInt Origin(TInt, TInt)
TInt OtherSide(TInt, TInt, TInt)
voidPreWriteRgb(TInt &, TInt &, TInt &, TInt &, CGraphicsContext::TDrawMode)
voidSetDefaults()
voidWriteRgb(TInt &, TInt &, TInt &, TInt &, TRgb, CGraphicsContext::TDrawMode)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CFbsDrawDevice::DisplayMode16M()
CFbsDrawDevice::GetCustomPalette(CPalette *&)
CFbsDrawDevice::InitScreen()
CFbsDrawDevice::NewBitmapDeviceL(TScreenInfoV01,TDisplayMode,TInt)
CFbsDrawDevice::NewBitmapDeviceL(const TSize &,TDisplayMode,TInt)
CFbsDrawDevice::NewScreenDeviceL(TInt,TDisplayMode)
CFbsDrawDevice::NewScreenDeviceL(TScreenInfoV01,TDisplayMode)
CFbsDrawDevice::SetAutoUpdate(TBool)
CFbsDrawDevice::SetCustomPalette(const CPalette *)
CFbsDrawDevice::SetDisplayMode(CFbsDrawDevice *)
CFbsDrawDevice::SetShadowMode(TShadowMode)
CFbsDrawDevice::ShadowArea(const TRect &)
CFbsDrawDevice::ShadowBuffer(TInt,TUint32 *)
CFbsDrawDevice::Update()
CFbsDrawDevice::Update(const TRegion &)
CFbsDrawDevice::UpdateRegion(const TRect &)
CFbsDrawDevice::WriteRgbAlphaMulti(TInt,TInt,TInt,TRgb,const TUint8 *)
Inherited Enumerations
CFbsDrawDevice:TOrientation
CFbsDrawDevice:TShadowMode
Protected Attributes
MAlphaBlend *iAlphaBlend
TUint32 *iBits
TDisplayMode iDispMode
TPoint iDitherOrigin
TRect iDrawRect
TInt iFadeMapFactor
TInt iFadeMapOffset
TInt iLongWidth
TOrientation iOrientation
TOrigin iOrigin
TBool iOriginIsZero
TBool iScalingOff
TScalingSettings iScalingSettings
TUint32 *iScanLineBuffer
TInt iScanLineWords
TShadowMode iShadowMode
TSize iSize
TDisplayMode iUserDispMode

Constructor & Destructor Documentation

CDrawBitmap()

CDrawBitmap()[protected]

~CDrawBitmap()

~CDrawBitmap()[virtual]

Member Functions Documentation

ANDPixels(TPixelType *, TPixelType, const TPixelType *, const TPixelType *, const TPixelType *)

voidANDPixels(TPixelType *aPixelPtr,
TPixelTypeaValue,
const TPixelType *aPixelPtrRowLimit,
const TPixelType *aBitsStart,
const TPixelType *aBitsEnd
)const [protected, inline]

Parameters

TPixelType * aPixelPtr
TPixelType aValue
const TPixelType * aPixelPtrRowLimit
const TPixelType * aBitsStart
const TPixelType * aBitsEnd

BitsPerPixel(TDisplayMode)

TInt BitsPerPixel(TDisplayModeaDispMode)[protected, static]

Parameters

TDisplayMode aDispMode

BlendLine(TInt, TInt, TInt, TUint32 *)

voidBlendLine(TIntaX,
TIntaY,
TIntaLength,
TUint32 *aBuffer
)[protected, virtual]

Parameters

TInt aX
TInt aY
TInt aLength
TUint32 * aBuffer

BlendRgbMulti(TInt, TInt, TInt, TInt, TRgb)

voidBlendRgbMulti(TIntaX,
TIntaY,
TIntaWidth,
TIntaLength,
TRgbaColor
)[protected, virtual]

Parameters

TInt aX
TInt aY
TInt aWidth
TInt aLength
TRgb aColor

CanBeScaled()

TBool CanBeScaled()const [protected]

Notifies the caller whether the drawing device can be scaled or not.

CanOriginBeMoved()

TBool CanOriginBeMoved()const [protected]

Notifies the caller whether the drawing device origin can be moved from (0, 0) point or not.

Clear()

voidClear()[protected]

CopyOffset(TAny *, const TAny *, TInt, TInt)

TAny *CopyOffset(TAny *aDestination,
const TAny *aSource,
TIntaWordsToCopy,
TIntaSourceBitOffset
)[protected, static]

Parameters

TAny * aDestination
const TAny * aSource
TInt aWordsToCopy
TInt aSourceBitOffset

CopyOldSettings(CFbsDrawDevice *)

voidCopyOldSettings(CFbsDrawDevice *aDrawDevice)[protected]

Parameters

CFbsDrawDevice * aDrawDevice

DeOrientate(TInt &, TInt &)

voidDeOrientate(TInt &aX,
TInt &aY
)const [protected]

Parameters

TInt & aX
TInt & aY

DeOrientate(const TPoint &)

TPoint DeOrientate(const TPoint &aPoint)const [protected]

Parameters

const TPoint & aPoint

DeOrientate(const TRect &)

TRect DeOrientate(const TRect &aRect)const [protected]

Parameters

const TRect & aRect

DisplayMode()

TDisplayMode DisplayMode()const [inline, virtual]

Return the display mode of the device.

DoCopyOldSettings(CFbsDrawDevice *)

voidDoCopyOldSettings(CFbsDrawDevice *aDrawDevice)[private]

Parameters

CFbsDrawDevice * aDrawDevice

DoFastBlendBitmap(const TPoint &, const TRect &, const TUint8 *, TInt, TDisplayMode, const TSize &)

TInt DoFastBlendBitmap(const TPoint &aDest,
const TRect &aSrcRect,
const TUint8 *aSrcBase,
TIntaSrcLinePitch,
TDisplayModeaSrcDisplayMode,
const TSize &aSrcSize
)[private]

Parameters

const TPoint & aDest
const TRect & aSrcRect
const TUint8 * aSrcBase
TInt aSrcLinePitch
TDisplayMode aSrcDisplayMode
const TSize & aSrcSize

FadeGray(TInt)

TUint8 FadeGray(TIntaGray256)[protected]

Parameters

TInt aGray256

FadeRgb(TRgb)

TRgb FadeRgb(TRgbaColor)[protected]

Parameters

TRgb aColor

FadeRgb(TUint32)

TUint32 FadeRgb(TUint32aColor)[protected]

Parameters

TUint32 aColor

FadeRgb(TInt &, TInt &, TInt &)

voidFadeRgb(TInt &aRed,
TInt &aGreen,
TInt &aBlue
)[protected]

The overloaded function for FadeRgb(TRgb) which works directly with the Red, Green and Blue colour components to increase the performance.

Parameters

TInt & aRedRed component of colour.
TInt & aGreenGreen component of colour.
TInt & aBlueBlue component of colour.

FastBlendBitmap(const TPoint &, CFbsDrawDevice *, const TRect &, CGraphicsContext::TDrawMode, TInt)

TInt FastBlendBitmap(const TPoint &aDest,
CFbsDrawDevice *aSrcDrawDevice,
const TRect &aSrcRect,
CGraphicsContext::TDrawModeaDrawMode,
TIntaShadowMode
)[virtual]

CDrawBitmap::BlendBitmap() implementation.

Parameters

const TPoint & aDest
CFbsDrawDevice * aSrcDrawDevice
const TRect & aSrcRect
CGraphicsContext::TDrawMode aDrawMode
TInt aShadowMode

FastBlendBitmap(const TPoint &, const TUint32 *, TInt, const TSize &, const TRect &, TDisplayMode, CGraphicsContext::TDrawMode, TInt)

TInt FastBlendBitmap(const TPoint &aDest,
const TUint32 *aSrcBase,
TIntaSrcStride,
const TSize &aSrcSize,
const TRect &aSrcRect,
TDisplayModeaDisplayMode,
CGraphicsContext::TDrawModeaDrawMode,
TIntaShadowMode
)[virtual]

Parameters

const TPoint & aDest
const TUint32 * aSrcBase
TInt aSrcStride
const TSize & aSrcSize
const TRect & aSrcRect
TDisplayMode aDisplayMode
CGraphicsContext::TDrawMode aDrawMode
TInt aShadowMode

FastBlendBitmapMasked(const TPoint &, const TUint32 *, TInt, const TSize &, const TRect &, TDisplayMode, const TUint32 *, TInt, TDisplayMode, const TSize &, const TPoint &, TBool, CGraphicsContext::TDrawMode, TInt)

TInt FastBlendBitmapMasked(const TPoint &aDest,
const TUint32 *aSrcBase,
TIntaSrcStride,
const TSize &aSrcSize,
const TRect &aSrcRect,
TDisplayModeaSrcDisplayMode,
const TUint32 *aMaskBase,
TIntaMaskStride,
TDisplayModeaMaskDisplayMode,
const TSize &aMaskSize,
const TPoint &aMaskSrcPos,
TBoolaInvertMask,
CGraphicsContext::TDrawModeaDrawMode,
TIntaShadowMode
)[virtual]

Parameters

const TPoint & aDest
const TUint32 * aSrcBase
TInt aSrcStride
const TSize & aSrcSize
const TRect & aSrcRect
TDisplayMode aSrcDisplayMode
const TUint32 * aMaskBase
TInt aMaskStride
TDisplayMode aMaskDisplayMode
const TSize & aMaskSize
const TPoint & aMaskSrcPos
TBool aInvertMask
CGraphicsContext::TDrawMode aDrawMode
TInt aShadowMode

FastBlendBitmapMaskedScaled(const TRect &, const TRect &, const TRect &, const TUint32 *, TInt, TDisplayMode, const TSize &, const TUint32 *, TInt, TDisplayMode, const TSize &, TBool, CGraphicsContext::TDrawMode, TInt)

TInt FastBlendBitmapMaskedScaled(const TRect &aClipRect,
const TRect &aDest,
const TRect &aSrcRect,
const TUint32 *aSrcBase,
TIntaSrcLinePitch,
TDisplayModeaSrcDisplayMode,
const TSize &aSrcSize,
const TUint32 *aMaskBase,
TIntaMaskStride,
TDisplayModeaMaskDisplayMode,
const TSize &aMaskSize,
TBoolaInvertMask,
CGraphicsContext::TDrawModeaDrawMode,
TIntaShadowMode
)[virtual]

Parameters

const TRect & aClipRect
const TRect & aDest
const TRect & aSrcRect
const TUint32 * aSrcBase
TInt aSrcLinePitch
TDisplayMode aSrcDisplayMode
const TSize & aSrcSize
const TUint32 * aMaskBase
TInt aMaskStride
TDisplayMode aMaskDisplayMode
const TSize & aMaskSize
TBool aInvertMask
CGraphicsContext::TDrawMode aDrawMode
TInt aShadowMode

FastBlendBitmapScaled(const TRect &, const TRect &, const TRect &, const TUint32 *, TInt, TDisplayMode, const TSize &, CGraphicsContext::TDrawMode, TInt)

TInt FastBlendBitmapScaled(const TRect &aClipRect,
const TRect &aDest,
const TRect &aSrcRect,
const TUint32 *aSrcBase,
TIntaSrcLinePitch,
TDisplayModeaSrcDisplayMode,
const TSize &aSrcSize,
CGraphicsContext::TDrawModeaDrawMode,
TIntaShadowMode
)[virtual]

Parameters

const TRect & aClipRect
const TRect & aDest
const TRect & aSrcRect
const TUint32 * aSrcBase
TInt aSrcLinePitch
TDisplayMode aSrcDisplayMode
const TSize & aSrcSize
CGraphicsContext::TDrawMode aDrawMode
TInt aShadowMode

FastBlendMaskSupported(TDisplayMode, TInt)

TBool FastBlendMaskSupported(TDisplayModeaMaskDisplayMode,
TIntaMaskStride
)[private]

Parameters

TDisplayMode aMaskDisplayMode
TInt aMaskStride

FastBlendSupported(TDisplayMode, CGraphicsContext::TDrawMode, TInt, TInt)

TBool FastBlendSupported(TDisplayModeaSrcDisplayMode,
CGraphicsContext::TDrawModeaDrawMode,
TIntaShadowMode,
TIntaSrcLinePitch
)[private]

Parameters

TDisplayMode aSrcDisplayMode
CGraphicsContext::TDrawMode aDrawMode
TInt aShadowMode
TInt aSrcLinePitch

Get(TInt &, TInt &, TInt &, TInt &)

voidGet(TInt &aFactorX,
TInt &aFactorY,
TInt &aDivisorX,
TInt &aDivisorY
)[virtual]

Implementation for MScalingSettings::Get(). Retrieves X-axis and Y-axis scaling factors.

Parameters

TInt & aFactorXUpon return contains X-axis scaling factor.
TInt & aFactorYUpon return contains Y-axis scaling factor.
TInt & aDivisorXUpon return contains the decimal fraction of X-axis scaling factor.
TInt & aDivisorYUpon return contains the decimal fraction of Y-axis scaling factor.

Get(TPoint &)

voidGet(TPoint &aOrigin)[virtual]

Implementation for MDrawDeviceOrigin::Get(). Retrieves origin point.

Parameters

TPoint & aOriginUpon return contains scaling origin point.

GetBlendPosAndRect(TRect &, const TRect &, const TSize &, const TPoint &)

voidGetBlendPosAndRect(TRect &aSrcRect,
const TRect &aSrcRectIn,
const TSize &aSrcSize,
const TPoint &aDestOffset
)[private]

Parameters

TRect & aSrcRect
const TRect & aSrcRectIn
const TSize & aSrcSize
const TPoint & aDestOffset

GetBlendPosAndRect(TRect &, TRect &, const TRect &, const TRect &, const TSize &)

voidGetBlendPosAndRect(TRect &aDstRect,
TRect &aSrcRect,
const TRect &aDestRectIn,
const TRect &aSrcRectIn,
const TSize &aSrcSize
)[private]

Parameters

TRect & aDstRect
TRect & aSrcRect
const TRect & aDestRectIn
const TRect & aSrcRectIn
const TSize & aSrcSize

GetDrawRect(TRect &)

voidGetDrawRect(TRect &aDrawRect)const [virtual]

Implementation for CFbsDrawDevice::GetDrawRect(). Gets logical coordinates of the drawing rectangle. If the device is not scaled and with zero origin, logocal coordinates of the drawing rectangle are the same as its physical coordinates. If the device is rotated, drawing rectangle width and height are swapped. Always prefer GetDrawRect() to SizeInPixels() call. SizeInPixels() will return drawing rectangle width and height. But if the device is scaled or with nonzero origin, GetDrawRect() will take into account and the top-left corner of the drawing rectangle too, which may not be [0, 0].

Parameters

TRect & aDrawRect

GetInterface(TInt, TAny *&)

TInt GetInterface(TIntaInterfaceId,
TAny *&aInterface
)[virtual]

Implementation for CFbsDrawDevice::GetInterface(). Retrieves a pointer to a specified interface of CFbsDrawDevice implementation.

Parameters

TInt aInterfaceIdInterface identifier of the interface to be retrieved.
TAny *& aInterfaceAddress of variable that retrieves the specified interface.

Hash(TUint32, TInt, TInt)

TUint32 Hash(TUint32aValue,
TIntaX,
TIntaY
)const [protected]

Parameters

TUint32 aValue
TInt aX
TInt aY

HorzTwipsPerThousandPixels()

TInt HorzTwipsPerThousandPixels()const [inline, virtual]

Allows the caller to calculate the physical size of a bitmap on the current hardware by calculating how many twips a 1000-pixel wide bitmap would be. Only applicable to screen-based devices; bitmap devices return 0.

IncScaledY(TInt &)

voidIncScaledY(TInt &aY)const [protected]

Parameters

TInt & aY

IncScaledY(TInt &, TInt)

voidIncScaledY(TInt &aY,
TIntaYOrg
)const [protected]

Parameters

TInt & aY
TInt aYOrg

InitLogicalCoordinates()

voidInitLogicalCoordinates()[private]

InvertBuffer(TInt, TUint32 *)

voidInvertBuffer(TIntaLength,
TUint32 *aBuffer
)[protected, pure virtual]

Parameters

TInt aLength
TUint32 * aBuffer

IsScalingOff()

TBool IsScalingOff()[virtual]

Implementation for MScalingSettings::IsScalingOff(). Notifies the caller whether the drawing device is scaled or not.

LogicalPixelAddressIncrement()

TInt LogicalPixelAddressIncrement()const [protected]

LongWidth()

TInt LongWidth()const [virtual]

Scanline width in pixels. The return value can be greater or equal than iSize.iWidth, because the scan line memory is allocated in 32-bit words and can be rounded up, if the display mode allows more than 1 pixel to be stored in a single byte.

MapBufferToUserDisplayMode(TInt, TUint32 *)

voidMapBufferToUserDisplayMode(TInt,
TUint32 *
)[protected, inline, virtual]

Parameters

TInt
TUint32 *

MapColorToUserDisplayMode(TInt &, TInt &, TInt &)

voidMapColorToUserDisplayMode(TInt &red,
TInt &green,
TInt &blue
)[protected]

Convert a RGB pixel into the color associated to the user display mode.

Parameters

TInt & redred color
TInt & greengreen color
TInt & blueblue color

MapColorToUserDisplayMode(TRgb &)

voidMapColorToUserDisplayMode(TRgb &)[protected, inline, virtual]

Parameters

TRgb &

MapColors(const TRect &, const TRgb *, TInt, TBool)

voidMapColors(const TRect &aRect,
const TRgb *aColors,
TIntaNumPairs,
TBoolaMapForwards
)[virtual]
Alter the colours within a defined rectangle according to the supplied mapping. The colour map is supplied as pairs of TRgb objects. One member of the pair defines a colour value to match, the other defines a colour to replace that value by. Note that, for comparison purposes, smaller gamuts (e.g. 64K colour) are mapped to TRgb form before comparison, so a colour that is not representable in the current display mode will not be matched. Pixels in the original that do not match an entry in the colour map are unchanged.
panic
EScreenDriverPanicOutOfBounds if aRect transforms back to illegal physical coordinates.
panic
EScreenDriverPanicNullPointer if aColors == NULL
panic
EScreenDriverPanicZeroLength if aNumPairs == 0

Parameters

const TRect & aRectArea of the device/bitmap to be mapped in logical coordinates
const TRgb * aColorsColour map. This should be provided as a set of TRgb pairs, one to be matched and the other to provide a replacement.
TInt aNumPairsNumber of pairs of colours in aColors.
TBool aMapForwardsIf ETrue, match the first colour of a pair and replace by the second, otherwise match the second and replace by the first.

ORPixels(TPixelType *, TPixelType, const TPixelType *, const TPixelType *, const TPixelType *)

voidORPixels(TPixelType *aPixelPtr,
TPixelTypeaValue,
const TPixelType *aPixelPtrRowLimit,
const TPixelType *aBitsStart,
const TPixelType *aBitsEnd
)const [protected, inline]

Parameters

TPixelType * aPixelPtr
TPixelType aValue
const TPixelType * aPixelPtrRowLimit
const TPixelType * aBitsStart
const TPixelType * aBitsEnd

OrientationsAvailable(TBool)

voidOrientationsAvailable(TBoolaOrientation)[virtual]

Reports on which orientations are available on the device/bitmap.

Parameters

TBool aOrientationArray to receive the capability (use CFbsDrawDevice::TOrientation as an index)

Origin(TInt, TInt)

TInt Origin(TIntaPhysOrg,
TIntaScale
)const [private, inline]

Parameters

TInt aPhysOrg
TInt aScale

OtherSide(TInt, TInt, TInt)

TInt OtherSide(TIntaPhysOrg,
TIntaPhysSize,
TIntaScale
)const [private, inline]

Parameters

TInt aPhysOrg
TInt aPhysSize
TInt aScale

PasteInt(TUint32, TUint32, TInt)

TUint32 PasteInt(TUint32aFirst,
TUint32aSecond,
TIntaOffset
)const [protected]

Parameters

TUint32 aFirst
TUint32 aSecond
TInt aOffset

PixelAddressIncrement()

TInt PixelAddressIncrement()const [protected]

PreWriteRgb(TInt &, TInt &, TInt &, TInt &, CGraphicsContext::TDrawMode)

voidPreWriteRgb(TInt &aWidth,
TInt &aHeight,
TInt &aX,
TInt &aY,
CGraphicsContext::TDrawModeaDrawMode
)[private]

Parameters

TInt & aWidth
TInt & aHeight
TInt & aX
TInt & aY
CGraphicsContext::TDrawMode aDrawMode

ReadLine(TInt, TInt, TInt, TAny *, TDisplayMode)

voidReadLine(TIntaX,
TIntaY,
TIntaLength,
TAny *aBuffer,
TDisplayModeaDispMode
)const [virtual]
Reads a line of aLength pixels starting at [aX, aY] (in logical coordinates). The direction of reading is affected by the current orientation, and the "stride" taken in sampling pixels is affected by any scaling currently in force. Pixels are converted (if necessary) to the form specified by aDispMode before being written to the buffer. The entire line to be read must be within the physical bounds of the bitmap or device
panic
EScreenDriverPanicOutOfBounds if either end of the line is out of bounds
panic
EScreenDriverPanicNullPointer if aBuffer == NULL
panic
EScreenDriverPanicZeroLength if aLength == 0

Parameters

TInt aXX coordinate of the pixel to start reading from (logical coordinates)
TInt aYY coordinate of the pixel to start reading from(logical coordinates)
TInt aLengthNumber of pixels to read
TAny * aBufferBuffer to receive the pixel data (must be large enough)
TDisplayMode aDispModeFormat to use for writing pixels into the buffer.

ReadLine(TInt, TInt, TInt, TAny *)

voidReadLine(TIntaX,
TIntaY,
TIntaLength,
TAny *aBuffer
)const [protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aLength
TAny * aBuffer

ReadLineCommon(TUint32 *, TUint32 *, TInt, TInt, TInt, TInt)

voidReadLineCommon(TUint32 *aPixelPtr,
TUint32 *aBufferPtr,
TIntaWordsCnt,
TIntaRestPixels,
TIntaBytesCnt,
TIntaStartDiffBits
)[protected, static]

Common code to read a line of pixels where there are >1 pixels per byte. The source words must be shifted to fit the target buffer.

Parameters

TUint32 * aPixelPtrSource location to start copying from (word aligned, last word is safe)
TUint32 * aBufferPtrTarget location to write to (word aligned - may or may not own all last word)
TInt aWordsCntNumber of source words that can be safely copied
TInt aRestPixelsNumber of pixels that must be read from the next word for the final byte copy
TInt aBytesCntNumber of bytes to write from final input word
TInt aStartDiffBitsNumber of bits shifted between input and output words.

ReadPixel(TInt, TInt)

TRgb ReadPixel(TIntaX,
TIntaY
)const [virtual]
Get the colour of the pixel at the logical position [aX,aY]
panic
EScreenDriverPanicOutOfBounds if [aX,aY] transforms back to illegal physical coordinates.

Parameters

TInt aXX-coordinate of pixel to read (logical coordinates)
TInt aYY-coordinate of pixel to read (logical coordinates)

ReadRgbNormal(TInt, TInt)

TRgb ReadRgbNormal(TIntaX,
TIntaY
)const [protected, pure virtual]

Parameters

TInt aX
TInt aY

ScanLine(TInt)

TUint32 *ScanLine(TIntaY)const [protected, virtual]

Parameters

TInt aY

ScanLineBuffer()

TUint32 *ScanLineBuffer()const [virtual]

Returns a pointer to a buffer large enough to read a line of pixels of maximum length. Ownership of the buffer is retained by the bitmap or device object. Repeated calls to this function will return the same buffer.

ScanLineBytes()

TInt ScanLineBytes()const [virtual]

Scanline width in bytes. The return value may be greater than the actual number of bytes needed to store the pixels, since scan line memory is allocated in 32-bit words and can be rounded up.

ScanLineDisplayMode()

TDisplayMode ScanLineDisplayMode()const [inline, virtual]

Return the display mode to be used when passing pixel data to the device using the scanline buffer. CFbsDrawDevice::DisplayMode

Set(TInt, TInt, TInt, TInt)

TInt Set(TIntaFactorX,
TIntaFactorY,
TIntaDivisorX,
TIntaDivisorY
)[virtual]

Implementation for MScalingSettings::Set(). Sets scaling factor by which the drawing device should scale the drawing images. If you want to un-scale the device, call Set() with factorX = 1, factorY = 1, divisorX = 1, divisorY = 1.

Parameters

TInt aFactorXScaling factor for the X-axis of the screen device.
TInt aFactorYScaling factor for the y-axis of the screen device.
TInt aDivisorXNot used. Should be set to 1.
TInt aDivisorYNot used. Should be set to 1.

Set(const TPoint &)

TInt Set(const TPoint &aOrigin)[virtual]

Implementation for MDrawDeviceOrigin::Set(). Sets drawing device origin. If you want to the default origin, call Set() with Origin (0,0).

Parameters

const TPoint & aOriginSpecifies physical coordinates of the new scaling origin of the drawing device. The drawing device maps the logical point [0,0] to the "aOrigin" physical point .

SetBits(TAny *)

voidSetBits(TAny *)[virtual]

Set the internal data buffer to point to the supplied buffer. No checks are made that the buffer is appropriate for the purpose. Ownership is not taken.

Parameters

TAny *

SetDefaults()

voidSetDefaults()[private]

SetDitherOrigin(const TPoint &)

voidSetDitherOrigin(const TPoint &)[virtual]

Set the origin point of the dither matrix (if appropriate)

Parameters

const TPoint &

SetFadingParameters(TUint8, TUint8)

voidSetFadingParameters(TUint8,
TUint8
)[virtual]

Set the current fading parameters

Parameters

TUint8
TUint8

SetOrientation(TOrientation)

TBool SetOrientation(TOrientationaOrientation)[virtual]

Set the orientation of the device

Parameters

TOrientation aOrientationOrientation to set

SetPixelInc(TInt &, TInt &)

voidSetPixelInc(TInt &aPixelInc,
TInt &aRowInc
)const [protected]

Parameters

TInt & aPixelInc
TInt & aRowInc

SetPixels(TPixelType *, TPixelType, const TPixelType *, const TPixelType *, const TPixelType *)

voidSetPixels(TPixelType *aPixelPtr,
TPixelTypeaValue,
const TPixelType *aPixelPtrRowLimit,
const TPixelType *aBitsStart,
const TPixelType *aBitsEnd
)const [protected, inline]

Parameters

TPixelType * aPixelPtr
TPixelType aValue
const TPixelType * aPixelPtrRowLimit
const TPixelType * aBitsStart
const TPixelType * aBitsEnd

SetShadowMode(TShadowMode)

voidSetShadowMode(TShadowModeaShadowMode)[inline, virtual]

Parameters

TShadowMode aShadowMode

SetSize(const TSize &)

voidSetSize(const TSize &aSize)[protected, virtual]

Parameters

const TSize & aSize

SetUserDisplayMode(TDisplayMode)

voidSetUserDisplayMode(TDisplayMode)[inline, virtual]

Sets the user display mode - used for certain colour mapping functions

Parameters

TDisplayMode

Shadow(TRgb &)

voidShadow(TRgb &aColor)[protected, pure virtual]

Parameters

TRgb & aColor

SizeInPixels()

TSize SizeInPixels()const [virtual]

The method returns screen size in pixels. The orientation is taken into account. Always prefer GetDrawRect() to SizeInPixels() call. GetDrawRect() will take into account possible non-[0,0] top-left corner of the drawing rectangle if the device is scaled.

SwapWidthAndHeight()

voidSwapWidthAndHeight()[virtual]

The method swaps bitmap device's width and height. For example: if the size is (40, 20), the swapped size will be (20, 40). The device's content is not preserved. The method leaves CDrawBitmap object in a consistent state - scaling settings will be set with their default values (the scaling is switched off), iDitherOrigin will be set to (0,0), iOrigin to (0,0).

Note: This method is used internally by BITGDI component. Do not call it!

VertTwipsPerThousandPixels()

TInt VertTwipsPerThousandPixels()const [inline, virtual]

Allows the caller to calculate the physical size of a bitmap on the current hardware by calculating how many twips a 1000-pixel high bitmap would be. Only applicable to screen-based devices; bitmap devices return 0.

WriteBinary(TInt, TInt, TUint32 *, TInt, TInt, TRgb, CGraphicsContext::TDrawMode)

voidWriteBinary(TIntaX,
TIntaY,
TUint32 *aBuffer,
TIntaLength,
TIntaHeight,
TRgbaColor,
CGraphicsContext::TDrawModeaDrawMode
)[virtual]
Combines the current content of the device/bitmap with a supplied colour, based on a bitmask and a draw mode. The bitmask is supplied as an array of TUint32s, one for each line (so there should be aHeight entries in the array). Since one word is used per line, aLength must be <= 32. Each bit of the mask controls one pixel - if the bit is 1, the pixel is combined with aColor, if the bit is 0, the pixel is left unchanged. Note that bits in the bitmask are examined in low-high order, so bit0 affects the pixel at aX, bit1 affects the pixel at aX+1 and so forth. If the shadowing/fading flag is set, the resulting pixels will be shadowed/faded.
panic
EScreenDriverPanicOutOfBounds If any part of the rectangle maps to an illegal physical coordinate or if aLength > 32.
panic
EScreenDriverPanicNullPointer If aBuffer == NULL
panic
EScreenDriverPanicZeroLength If aLength <= 0

Parameters

TInt aXLeft edge of the rectangle (logical coordinates)
TInt aYTop edge of the rectangle (logical coordinates)
TUint32 * aBufferArray of bitmasks - one per line
TInt aLengthWidth of the rectangle (must be >0 and <= 32)
TInt aHeightHeight of the rectangle (== number of entries in aBuffer)
TRgb aColorColour to combine with the existing pixel data
CGraphicsContext::TDrawMode aDrawModeCombination function for source and destination pixels.

WriteBinary(TInt, TInt, TUint32 *, TInt, TInt, TRgb)

voidWriteBinary(TIntaX,
TIntaY,
TUint32 *aBuffer,
TIntaLength,
TIntaHeight,
TRgbaColor
)[protected, pure virtual]

Parameters

TInt aX
TInt aY
TUint32 * aBuffer
TInt aLength
TInt aHeight
TRgb aColor

WriteBinaryLine(TInt, TInt, TUint32 *, TInt, TRgb, CGraphicsContext::TDrawMode)

voidWriteBinaryLine(TIntaX,
TIntaY,
TUint32 *aBuffer,
TIntaLength,
TRgbaColor,
CGraphicsContext::TDrawModeaDrawMode
)[virtual]
Combines the current content of the device/bitmap with a supplied colour, based on a bitmask and a draw mode. This function differs from WriteBinary, in that aLength can be greater than 32, and the height is implicitly 1. aBuffer must contain sufficient elements to hold aLength bits If the shadowing/fading flag is set, the resulting pixels will be shadowed/faded.
panic
EScreenDriverPanicOutOfBounds If any part of the line maps to an illegal physical coordinate
panic
EScreenDriverPanicNullPointer If aBuffer == NULL
panic
EScreenDriverPanicZeroLength If aLength <= 0
WriteBinary

Parameters

TInt aXStarting X coordinate (logical coordinates)
TInt aYStarting Y coordinate (logical coordinates)
TUint32 * aBufferArray of bitmasks
TInt aLengthNumber of pixels
TRgb aColorColour to combine with existing pixels
CGraphicsContext::TDrawMode aDrawModeCombination function for source and destination pixels.

WriteBinaryLineVertical(TInt, TInt, TUint32 *, TInt, TRgb, CGraphicsContext::TDrawMode, TBool)

voidWriteBinaryLineVertical(TIntaX,
TIntaY,
TUint32 *aBuffer,
TIntaHeight,
TRgbaColor,
CGraphicsContext::TDrawModeaDrawMode,
TBoolaUp
)[virtual]

Similar to WriteBinaryLine, but writes a vertical, rather than a horizontal line. LIne is drawn upward (decreasing Y) if aUp == ETrue. WriteBinaryLine

Parameters

TInt aX
TInt aY
TUint32 * aBuffer
TInt aHeight
TRgb aColor
CGraphicsContext::TDrawMode aDrawMode
TBool aUp

WriteBinaryLineVertical(TInt, TInt, TUint32 *, TInt, TRgb, TBool)

voidWriteBinaryLineVertical(TIntaX,
TIntaY,
TUint32 *aBuffer,
TIntaLength,
TRgbaColor,
TBoolaUp
)[protected, pure virtual]

Parameters

TInt aX
TInt aY
TUint32 * aBuffer
TInt aLength
TRgb aColor
TBool aUp

WriteBinaryOp(TInt, TInt, TUint32 *, TInt, TInt, TRgb, CGraphicsContext::TDrawMode)

voidWriteBinaryOp(TIntaX,
TIntaY,
TUint32 *aBuffer,
TIntaLength,
TIntaHeight,
TRgbaColor,
CGraphicsContext::TDrawModeaDrawMode
)[protected, pure virtual]

Parameters

TInt aX
TInt aY
TUint32 * aBuffer
TInt aLength
TInt aHeight
TRgb aColor
CGraphicsContext::TDrawMode aDrawMode

WriteLine(TInt, TInt, TInt, TUint32 *, CGraphicsContext::TDrawMode)

voidWriteLine(TIntaX,
TIntaY,
TIntaLength,
TUint32 *aBuffer,
CGraphicsContext::TDrawModeaDrawMode
)[virtual]
Combine the data in aBuffer with existing pixels along the line [aX,aY]-[aX+aLength,aY], using aDrawMode as the combining function. If the shadowing/fading flag is set, the resulting pixels will be shadowed/faded.
panic
EScreenDriverPanicOutOfBounds If any part of the line maps to an illegal physical address

Parameters

TInt aXLogical X coordinate of the start of the line.
TInt aYLogical Y coordinate of the line.
TInt aLengthSource data - length in pixels.
TUint32 * aBufferSource data. Must be in the format returned by ScanLineDisplayMode().
CGraphicsContext::TDrawMode aDrawModeCombination function for source and destination pixels.

WriteLine(TInt, TInt, TInt, TUint32 *)

voidWriteLine(TIntaX,
TIntaY,
TIntaLength,
TUint32 *aBuffer
)[protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aLength
TUint32 * aBuffer

WriteLineAND(TInt, TInt, TInt, TUint32 *)

voidWriteLineAND(TIntaX,
TIntaY,
TIntaLength,
TUint32 *aBuffer
)[protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aLength
TUint32 * aBuffer

WriteLineOR(TInt, TInt, TInt, TUint32 *)

voidWriteLineOR(TIntaX,
TIntaY,
TIntaLength,
TUint32 *aBuffer
)[protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aLength
TUint32 * aBuffer

WriteLineXOR(TInt, TInt, TInt, TUint32 *)

voidWriteLineXOR(TIntaX,
TIntaY,
TIntaLength,
TUint32 *aBuffer
)[protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aLength
TUint32 * aBuffer

WriteRgb(TInt, TInt, TRgb, CGraphicsContext::TDrawMode)

voidWriteRgb(TIntaX,
TIntaY,
TRgbaColor,
CGraphicsContext::TDrawModeaDrawMode
)[virtual]
Write the given colour to the location [aX,aY], combining it with the existing pixel using aDrawMode If the shadowing/fading flag is set, the resulting pixels will be shadowed/faded.
panic
EScreenDriverPanicOutOfBounds If [aX,aY] maps to an illegal physical address

Parameters

TInt aXX coordinate (logical coordinates)
TInt aYY coordinate (logical coordinates)
TRgb aColorColour to write
CGraphicsContext::TDrawMode aDrawModeCombination function for source and destination pixels.

WriteRgb(TInt, TInt, TRgb)

voidWriteRgb(TIntaX,
TIntaY,
TRgbaColor
)[protected, pure virtual]

Parameters

TInt aX
TInt aY
TRgb aColor

WriteRgb(TInt &, TInt &, TInt &, TInt &, TRgb, CGraphicsContext::TDrawMode)

voidWriteRgb(TInt &aWidth,
TInt &aHeight,
TInt &aX,
TInt &aY,
TRgbaColor,
CGraphicsContext::TDrawModeaDrawMode
)[private]

Parameters

TInt & aWidth
TInt & aHeight
TInt & aX
TInt & aY
TRgb aColor
CGraphicsContext::TDrawMode aDrawMode

WriteRgbAlphaLine(TInt, TInt, TInt, TUint8 *, TUint8 *, CGraphicsContext::TDrawMode)

voidWriteRgbAlphaLine(TIntaX,
TIntaY,
TIntaLength,
TUint8 *aRgbBuffer,
TUint8 *aMaskBuffer,
CGraphicsContext::TDrawModeaDrawMode
)[virtual]
The method performs an alpha blending of the source data - aRgbBuffer and screen pixels, using the data from aMaskBuffer buffer as an alpha blending factor. If the shadowing/fading flag is set, a shadow/fade copy of the source bitmap will be used. The formula used for that, is: (C1 * A + C2 * (255 - A)) / 255, where:
  • C1 - a pixel from aRgbBuffer;

  • C2 - a pixel from the sceen;

  • A - a pixel from aMaskBuffer; The content of source and mask buffers is preserved. The calculated alpha blended pixel is written to the destination - the screen or a bitmap.

Parameters

TInt aXLogical X coordinate of the position in the target the result should be drawn to.
TInt aYLogical Y coordinate of the position in the target the result should be drawn to.
TInt aLengthSource data - length in pixels.
TUint8 * aRgbBufferA pointer to a line of the source bitmap data.
TUint8 * aMaskBufferBuffer containing the data which should be used as an alpha blending factor.
CGraphicsContext::TDrawMode aDrawMode

WriteRgbAlphaLine(TInt, TInt, TInt, const TUint8 *, const TUint8 *, const TUint8 *, CGraphicsContext::TDrawMode)

voidWriteRgbAlphaLine(TIntaX,
TIntaY,
TIntaLength,
const TUint8 *aRgbBuffer1,
const TUint8 *aBuffer2,
const TUint8 *aMaskBuffer,
CGraphicsContext::TDrawModeaDrawMode
)[virtual]
The method performs an alpha blending of the source data - aRgbBuffer1 and aBuffer2, using the data from aMaskBuffer buffer as an alpha blending factor. If the shadowing/fading flag is set, the resulting pixels will be shadowed/faded. The formula used for that, is: (C1 * A + C2 * (255 - A)) / 255, where:
  • C1 - a pixel from aRgbBuffer1;

  • C2 - a pixel from aBuffer2;

  • A - a pixel from aMaskBuffer; The content of source and mask buffers is preserved. The calculated alpha blended pixel is written to the destination - the screen or a bitmap.

Parameters

TInt aXLogical X coordinate of the position in the target the result should be drawn to.
TInt aYLogical Y coordinate of the position in the target the result should be drawn to.
TInt aLengthSource data - length in pixels.
const TUint8 * aRgbBuffer1A pointer to a line of the source bitmap data 1.
const TUint8 * aBuffer2A pointer to a line of the source bitmap data 2. Source bitmap data 2 should be mapped to current display mode before the method call.
const TUint8 * aMaskBufferBuffer containing the data which should be used as an alpha blending factor.
CGraphicsContext::TDrawMode aDrawModeDrawing mode

WriteRgbMulti(TInt, TInt, TInt, TInt, TRgb, CGraphicsContext::TDrawMode)

voidWriteRgbMulti(TIntaX,
TIntaY,
TIntaLength,
TIntaHeight,
TRgbaColor,
CGraphicsContext::TDrawModeaDrawMode
)[virtual]
Write the given colour to the rectangle [aX,aY] - [aX+aLength,aY+aHeight], combining it with the exiasting pixels using aDrawMode If the shadowing/fading flag is set, the resulting pixels will be shadowed/faded.
panic
EScreenDriverPanicOutOfBounds If any part of the rectangle maps to an illegal physical address

Parameters

TInt aXX coordinate (logical coordinates)
TInt aYY coordinate (logical coordinates)
TInt aLengthWidth of the rectangle (logical coordinates)
TInt aHeightHeight of the rectangle (logical coordinates)
TRgb aColorColour to write
CGraphicsContext::TDrawMode aDrawModeCombination function for source and destination pixels.

WriteRgbMulti(TInt, TInt, TInt, TInt, TRgb)

voidWriteRgbMulti(TIntaX,
TIntaY,
TIntaWidth,
TIntaLength,
TRgbaColor
)[protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aWidth
TInt aLength
TRgb aColor

WriteRgbMultiAND(TInt, TInt, TInt, TInt, TRgb)

voidWriteRgbMultiAND(TIntaX,
TIntaY,
TIntaWidth,
TIntaLength,
TRgbaColor
)[protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aWidth
TInt aLength
TRgb aColor

WriteRgbMultiOR(TInt, TInt, TInt, TInt, TRgb)

voidWriteRgbMultiOR(TIntaX,
TIntaY,
TIntaWidth,
TIntaLength,
TRgbaColor
)[protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aWidth
TInt aLength
TRgb aColor

WriteRgbMultiXOR(TInt, TInt, TInt, TInt, TRgb)

voidWriteRgbMultiXOR(TIntaX,
TIntaY,
TIntaWidth,
TIntaLength,
TRgbaColor
)[protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aWidth
TInt aLength
TRgb aColor

XORPixels(TPixelType *, TPixelType, const TPixelType *, const TPixelType *, const TPixelType *)

voidXORPixels(TPixelType *aPixelPtr,
TPixelTypeaValue,
const TPixelType *aPixelPtrRowLimit,
const TPixelType *aBitsStart,
const TPixelType *aBitsEnd
)const [protected, inline]

Parameters

TPixelType * aPixelPtr
TPixelType aValue
const TPixelType * aPixelPtrRowLimit
const TPixelType * aBitsStart
const TPixelType * aBitsEnd

Member Data Documentation

MAlphaBlend * iAlphaBlend

MAlphaBlend *iAlphaBlend[protected]

TUint32 * iBits

TUint32 *iBits[protected]

TDisplayMode iDispMode

TDisplayMode iDispMode[protected]

TPoint iDitherOrigin

TPoint iDitherOrigin[protected]

TRect iDrawRect

TRect iDrawRect[protected]

TInt iFadeMapFactor

TInt iFadeMapFactor[protected]

TInt iFadeMapOffset

TInt iFadeMapOffset[protected]

TInt iLongWidth

TInt iLongWidth[protected]

TOrientation iOrientation

TOrientation iOrientation[protected]

TOrigin iOrigin

TOrigin iOrigin[protected]

TBool iOriginIsZero

TBool iOriginIsZero[protected]

TBool iScalingOff

TBool iScalingOff[protected]

TScalingSettings iScalingSettings

TScalingSettings iScalingSettings[protected]

TUint32 * iScanLineBuffer

TUint32 *iScanLineBuffer[protected]

TInt iScanLineWords

TInt iScanLineWords[protected]

TShadowMode iShadowMode

TShadowMode iShadowMode[protected]

TSize iSize

TSize iSize[protected]

TDisplayMode iUserDispMode

TDisplayMode iUserDispMode[protected]