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 )
void Get ( TInt &, TInt &, TInt &, TInt &)
void Get ( TPoint &)
void GetDrawRect ( TRect &)
TInt GetInterface ( TInt , TAny *&)
TInt HorzTwipsPerThousandPixels ()
TBool IsScalingOff ()
TInt LongWidth ()
void MapColors (const TRect &, const TRgb *, TInt , TBool )
CFbsDrawDevice::TOrientation Orientation ()
void OrientationsAvailable ( TBool )
void ReadLine ( 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 &)
void SetBits ( TAny *)
void SetDitherOrigin (const TPoint &)
void SetFadingParameters ( TUint8 , TUint8 )
TBool SetOrientation ( TOrientation )
void SetShadowMode ( TShadowMode )
void SetUserDisplayMode ( TDisplayMode )
TSize SizeInPixels ()
void SwapWidthAndHeight ()
TInt VertTwipsPerThousandPixels ()
void WriteBinary ( TInt , TInt , TUint32 *, TInt , TInt , TRgb , CGraphicsContext::TDrawMode )
void WriteBinaryLine ( TInt , TInt , TUint32 *, TInt , TRgb , CGraphicsContext::TDrawMode )
void WriteBinaryLineVertical ( TInt , TInt , TUint32 *, TInt , TRgb , CGraphicsContext::TDrawMode , TBool )
void WriteLine ( TInt , TInt , TInt , TUint32 *, CGraphicsContext::TDrawMode )
void WriteRgb ( TInt , TInt , TRgb , CGraphicsContext::TDrawMode )
void WriteRgbAlphaLine ( TInt , TInt , TInt , TUint8 *, TUint8 *, CGraphicsContext::TDrawMode )
void WriteRgbAlphaLine ( TInt , TInt , TInt , const TUint8 *, const TUint8 *, const TUint8 *, CGraphicsContext::TDrawMode )
void WriteRgbMulti ( TInt , TInt , TInt , TInt , TRgb , CGraphicsContext::TDrawMode )
Protected Member Functions
CDrawBitmap ()
void ANDPixels (TPixelType *, TPixelType, const TPixelType *, const TPixelType *, const TPixelType *)
TInt BitsPerPixel ( TDisplayMode )
void BlendLine ( TInt , TInt , TInt , TUint32 *)
void BlendRgbMulti ( TInt , TInt , TInt , TInt , TRgb )
TBool CanBeScaled ()
TBool CanOriginBeMoved ()
void Clear ()
TAny * CopyOffset ( TAny *, const TAny *, TInt , TInt )
void CopyOldSettings ( CFbsDrawDevice *)
void DeOrientate ( TInt &, TInt &)
TPoint DeOrientate (const TPoint &)
TRect DeOrientate (const TRect &)
TUint8 FadeGray ( TInt )
TRgb FadeRgb ( TRgb )
TUint32 FadeRgb ( TUint32 )
void FadeRgb ( TInt &, TInt &, TInt &)
TUint32 Hash ( TUint32 , TInt , TInt )
void IncScaledY ( TInt &)
void IncScaledY ( TInt &, TInt )
void InvertBuffer ( TInt , TUint32 *)
TInt LogicalPixelAddressIncrement ()
void MapBufferToUserDisplayMode ( TInt , TUint32 *)
void MapColorToUserDisplayMode ( TInt &, TInt &, TInt &)
void MapColorToUserDisplayMode ( TRgb &)
void ORPixels (TPixelType *, TPixelType, const TPixelType *, const TPixelType *, const TPixelType *)
TUint32 PasteInt ( TUint32 , TUint32 , TInt )
TInt PixelAddressIncrement ()
void ReadLine ( TInt , TInt , TInt , TAny *)
void ReadLineCommon ( TUint32 *, TUint32 *, TInt , TInt , TInt , TInt )
TRgb ReadRgbNormal ( TInt , TInt )
TUint32 * ScanLine ( TInt )
void SetPixelInc ( TInt &, TInt &)
void SetPixels (TPixelType *, TPixelType, const TPixelType *, const TPixelType *, const TPixelType *)
void SetSize (const TSize &)
void Shadow ( TRgb &)
void WriteBinary ( TInt , TInt , TUint32 *, TInt , TInt , TRgb )
void WriteBinaryLineVertical ( TInt , TInt , TUint32 *, TInt , TRgb , TBool )
void WriteBinaryOp ( TInt , TInt , TUint32 *, TInt , TInt , TRgb , CGraphicsContext::TDrawMode )
void WriteLine ( TInt , TInt , TInt , TUint32 *)
void WriteLineAND ( TInt , TInt , TInt , TUint32 *)
void WriteLineOR ( TInt , TInt , TInt , TUint32 *)
void WriteLineXOR ( TInt , TInt , TInt , TUint32 *)
void WriteRgb ( TInt , TInt , TRgb )
void WriteRgbMulti ( TInt , TInt , TInt , TInt , TRgb )
void WriteRgbMultiAND ( TInt , TInt , TInt , TInt , TRgb )
void WriteRgbMultiOR ( TInt , TInt , TInt , TInt , TRgb )
void WriteRgbMultiXOR ( TInt , TInt , TInt , TInt , TRgb )
void XORPixels (TPixelType *, TPixelType, const TPixelType *, const TPixelType *, const TPixelType *)
Private Member Functions
void DoCopyOldSettings ( CFbsDrawDevice *)
TInt DoFastBlendBitmap (const TPoint &, const TRect &, const TUint8 *, TInt , TDisplayMode , const TSize &)
TBool FastBlendMaskSupported ( TDisplayMode , TInt )
TBool FastBlendSupported ( TDisplayMode , CGraphicsContext::TDrawMode , TInt , TInt )
void GetBlendPosAndRect ( TRect &, const TRect &, const TSize &, const TPoint &)
void GetBlendPosAndRect ( TRect &, TRect &, const TRect &, const TRect &, const TSize &)
void InitLogicalCoordinates ()
TInt Origin ( TInt , TInt )
TInt OtherSide ( TInt , TInt , TInt )
void PreWriteRgb ( TInt &, TInt &, TInt &, TInt &, CGraphicsContext::TDrawMode )
void SetDefaults ()
void WriteRgb ( 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 *)

void ANDPixels ( TPixelType * aPixelPtr,
TPixelType aValue,
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 ( TDisplayMode aDispMode ) [protected, static]

Parameters

TDisplayMode aDispMode

BlendLine(TInt, TInt, TInt, TUint32 *)

void BlendLine ( TInt aX,
TInt aY,
TInt aLength,
TUint32 * aBuffer
) [protected, virtual]

Parameters

TInt aX
TInt aY
TInt aLength
TUint32 * aBuffer

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

void BlendRgbMulti ( TInt aX,
TInt aY,
TInt aWidth,
TInt aLength,
TRgb aColor
) [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()

void Clear ( ) [protected]

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

TAny * CopyOffset ( TAny * aDestination,
const TAny * aSource,
TInt aWordsToCopy,
TInt aSourceBitOffset
) [protected, static]

Parameters

TAny * aDestination
const TAny * aSource
TInt aWordsToCopy
TInt aSourceBitOffset

CopyOldSettings(CFbsDrawDevice *)

void CopyOldSettings ( CFbsDrawDevice * aDrawDevice ) [protected]

Parameters

CFbsDrawDevice * aDrawDevice

DeOrientate(TInt &, TInt &)

void DeOrientate ( 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 *)

void DoCopyOldSettings ( 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,
TInt aSrcLinePitch,
TDisplayMode aSrcDisplayMode,
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 ( TInt aGray256 ) [protected]

Parameters

TInt aGray256

FadeRgb(TRgb)

TRgb FadeRgb ( TRgb aColor ) [protected]

Parameters

TRgb aColor

FadeRgb(TUint32)

TUint32 FadeRgb ( TUint32 aColor ) [protected]

Parameters

TUint32 aColor

FadeRgb(TInt &, TInt &, TInt &)

void FadeRgb ( 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 & aRed Red component of colour.
TInt & aGreen Green component of colour.
TInt & aBlue Blue component of colour.

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

TInt FastBlendBitmap ( const TPoint & aDest,
CFbsDrawDevice * aSrcDrawDevice,
const TRect & aSrcRect,
CGraphicsContext::TDrawMode aDrawMode,
TInt aShadowMode
) [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,
TInt aSrcStride,
const TSize & aSrcSize,
const TRect & aSrcRect,
TDisplayMode aDisplayMode,
CGraphicsContext::TDrawMode aDrawMode,
TInt aShadowMode
) [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,
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
) [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,
TInt aSrcLinePitch,
TDisplayMode aSrcDisplayMode,
const TSize & aSrcSize,
const TUint32 * aMaskBase,
TInt aMaskStride,
TDisplayMode aMaskDisplayMode,
const TSize & aMaskSize,
TBool aInvertMask,
CGraphicsContext::TDrawMode aDrawMode,
TInt aShadowMode
) [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,
TInt aSrcLinePitch,
TDisplayMode aSrcDisplayMode,
const TSize & aSrcSize,
CGraphicsContext::TDrawMode aDrawMode,
TInt aShadowMode
) [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 ( TDisplayMode aMaskDisplayMode,
TInt aMaskStride
) [private]

Parameters

TDisplayMode aMaskDisplayMode
TInt aMaskStride

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

TBool FastBlendSupported ( TDisplayMode aSrcDisplayMode,
CGraphicsContext::TDrawMode aDrawMode,
TInt aShadowMode,
TInt aSrcLinePitch
) [private]

Parameters

TDisplayMode aSrcDisplayMode
CGraphicsContext::TDrawMode aDrawMode
TInt aShadowMode
TInt aSrcLinePitch

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

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

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

Parameters

TInt & aFactorX Upon return contains X-axis scaling factor.
TInt & aFactorY Upon return contains Y-axis scaling factor.
TInt & aDivisorX Upon return contains the decimal fraction of X-axis scaling factor.
TInt & aDivisorY Upon return contains the decimal fraction of Y-axis scaling factor.

Get(TPoint &)

void Get ( TPoint & aOrigin ) [virtual]

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

Parameters

TPoint & aOrigin Upon return contains scaling origin point.

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

void GetBlendPosAndRect ( 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 &)

void GetBlendPosAndRect ( 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 &)

void GetDrawRect ( 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 ( TInt aInterfaceId,
TAny *& aInterface
) [virtual]

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

Parameters

TInt aInterfaceId Interface identifier of the interface to be retrieved.
TAny *& aInterface Address of variable that retrieves the specified interface.

Hash(TUint32, TInt, TInt)

TUint32 Hash ( TUint32 aValue,
TInt aX,
TInt aY
) 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 &)

void IncScaledY ( TInt & aY ) const [protected]

Parameters

TInt & aY

IncScaledY(TInt &, TInt)

void IncScaledY ( TInt & aY,
TInt aYOrg
) const [protected]

Parameters

TInt & aY
TInt aYOrg

InitLogicalCoordinates()

void InitLogicalCoordinates ( ) [private]

InvertBuffer(TInt, TUint32 *)

void InvertBuffer ( TInt aLength,
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 *)

void MapBufferToUserDisplayMode ( TInt ,
TUint32 *
) [protected, inline, virtual]

Parameters

TInt
TUint32 *

MapColorToUserDisplayMode(TInt &, TInt &, TInt &)

void MapColorToUserDisplayMode ( TInt & red,
TInt & green,
TInt & blue
) [protected]

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

Parameters

TInt & red red color
TInt & green green color
TInt & blue blue color

MapColorToUserDisplayMode(TRgb &)

void MapColorToUserDisplayMode ( TRgb & ) [protected, inline, virtual]

Parameters

TRgb &

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

void MapColors ( const TRect & aRect,
const TRgb * aColors,
TInt aNumPairs,
TBool aMapForwards
) [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 & aRect Area of the device/bitmap to be mapped in logical coordinates
const TRgb * aColors Colour map. This should be provided as a set of TRgb pairs, one to be matched and the other to provide a replacement.
TInt aNumPairs Number of pairs of colours in aColors.
TBool aMapForwards If 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 *)

void ORPixels ( TPixelType * aPixelPtr,
TPixelType aValue,
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)

void OrientationsAvailable ( TBool aOrientation ) [virtual]

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

Parameters

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

Origin(TInt, TInt)

TInt Origin ( TInt aPhysOrg,
TInt aScale
) const [private, inline]

Parameters

TInt aPhysOrg
TInt aScale

OtherSide(TInt, TInt, TInt)

TInt OtherSide ( TInt aPhysOrg,
TInt aPhysSize,
TInt aScale
) const [private, inline]

Parameters

TInt aPhysOrg
TInt aPhysSize
TInt aScale

PasteInt(TUint32, TUint32, TInt)

TUint32 PasteInt ( TUint32 aFirst,
TUint32 aSecond,
TInt aOffset
) const [protected]

Parameters

TUint32 aFirst
TUint32 aSecond
TInt aOffset

PixelAddressIncrement()

TInt PixelAddressIncrement ( ) const [protected]

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

void PreWriteRgb ( TInt & aWidth,
TInt & aHeight,
TInt & aX,
TInt & aY,
CGraphicsContext::TDrawMode aDrawMode
) [private]

Parameters

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

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

void ReadLine ( TInt aX,
TInt aY,
TInt aLength,
TAny * aBuffer,
TDisplayMode aDispMode
) 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 aX X coordinate of the pixel to start reading from (logical coordinates)
TInt aY Y coordinate of the pixel to start reading from(logical coordinates)
TInt aLength Number of pixels to read
TAny * aBuffer Buffer to receive the pixel data (must be large enough)
TDisplayMode aDispMode Format to use for writing pixels into the buffer.

ReadLine(TInt, TInt, TInt, TAny *)

void ReadLine ( TInt aX,
TInt aY,
TInt aLength,
TAny * aBuffer
) const [protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aLength
TAny * aBuffer

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

void ReadLineCommon ( TUint32 * aPixelPtr,
TUint32 * aBufferPtr,
TInt aWordsCnt,
TInt aRestPixels,
TInt aBytesCnt,
TInt aStartDiffBits
) [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 * aPixelPtr Source location to start copying from (word aligned, last word is safe)
TUint32 * aBufferPtr Target location to write to (word aligned - may or may not own all last word)
TInt aWordsCnt Number of source words that can be safely copied
TInt aRestPixels Number of pixels that must be read from the next word for the final byte copy
TInt aBytesCnt Number of bytes to write from final input word
TInt aStartDiffBits Number of bits shifted between input and output words.

ReadPixel(TInt, TInt)

TRgb ReadPixel ( TInt aX,
TInt aY
) 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 aX X-coordinate of pixel to read (logical coordinates)
TInt aY Y-coordinate of pixel to read (logical coordinates)

ReadRgbNormal(TInt, TInt)

TRgb ReadRgbNormal ( TInt aX,
TInt aY
) const [protected, pure virtual]

Parameters

TInt aX
TInt aY

ScanLine(TInt)

TUint32 * ScanLine ( TInt aY ) 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 ( TInt aFactorX,
TInt aFactorY,
TInt aDivisorX,
TInt aDivisorY
) [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 aFactorX Scaling factor for the X-axis of the screen device.
TInt aFactorY Scaling factor for the y-axis of the screen device.
TInt aDivisorX Not used. Should be set to 1.
TInt aDivisorY Not 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 & aOrigin Specifies 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 *)

void SetBits ( 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()

void SetDefaults ( ) [private]

SetDitherOrigin(const TPoint &)

void SetDitherOrigin ( const TPoint & ) [virtual]

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

Parameters

const TPoint &

SetFadingParameters(TUint8, TUint8)

void SetFadingParameters ( TUint8 ,
TUint8
) [virtual]

Set the current fading parameters

SetOrientation(TOrientation)

TBool SetOrientation ( TOrientation aOrientation ) [virtual]

Set the orientation of the device

Parameters

TOrientation aOrientation Orientation to set

SetPixelInc(TInt &, TInt &)

void SetPixelInc ( TInt & aPixelInc,
TInt & aRowInc
) const [protected]

Parameters

TInt & aPixelInc
TInt & aRowInc

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

void SetPixels ( TPixelType * aPixelPtr,
TPixelType aValue,
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)

void SetShadowMode ( TShadowMode aShadowMode ) [inline, virtual]

Parameters

TShadowMode aShadowMode

SetSize(const TSize &)

void SetSize ( const TSize & aSize ) [protected, virtual]

Parameters

const TSize & aSize

SetUserDisplayMode(TDisplayMode)

void SetUserDisplayMode ( TDisplayMode ) [inline, virtual]

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

Parameters

TDisplayMode

Shadow(TRgb &)

void Shadow ( 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()

void SwapWidthAndHeight ( ) [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)

void WriteBinary ( TInt aX,
TInt aY,
TUint32 * aBuffer,
TInt aLength,
TInt aHeight,
TRgb aColor,
CGraphicsContext::TDrawMode aDrawMode
) [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 aX Left edge of the rectangle (logical coordinates)
TInt aY Top edge of the rectangle (logical coordinates)
TUint32 * aBuffer Array of bitmasks - one per line
TInt aLength Width of the rectangle (must be >0 and <= 32)
TInt aHeight Height of the rectangle (== number of entries in aBuffer)
TRgb aColor Colour to combine with the existing pixel data
CGraphicsContext::TDrawMode aDrawMode Combination function for source and destination pixels.

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

void WriteBinary ( TInt aX,
TInt aY,
TUint32 * aBuffer,
TInt aLength,
TInt aHeight,
TRgb aColor
) [protected, pure virtual]

Parameters

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

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

void WriteBinaryLine ( TInt aX,
TInt aY,
TUint32 * aBuffer,
TInt aLength,
TRgb aColor,
CGraphicsContext::TDrawMode aDrawMode
) [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 aX Starting X coordinate (logical coordinates)
TInt aY Starting Y coordinate (logical coordinates)
TUint32 * aBuffer Array of bitmasks
TInt aLength Number of pixels
TRgb aColor Colour to combine with existing pixels
CGraphicsContext::TDrawMode aDrawMode Combination function for source and destination pixels.

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

void WriteBinaryLineVertical ( TInt aX,
TInt aY,
TUint32 * aBuffer,
TInt aHeight,
TRgb aColor,
CGraphicsContext::TDrawMode aDrawMode,
TBool aUp
) [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)

void WriteBinaryLineVertical ( TInt aX,
TInt aY,
TUint32 * aBuffer,
TInt aLength,
TRgb aColor,
TBool aUp
) [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)

void WriteBinaryOp ( TInt aX,
TInt aY,
TUint32 * aBuffer,
TInt aLength,
TInt aHeight,
TRgb aColor,
CGraphicsContext::TDrawMode aDrawMode
) [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)

void WriteLine ( TInt aX,
TInt aY,
TInt aLength,
TUint32 * aBuffer,
CGraphicsContext::TDrawMode aDrawMode
) [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 aX Logical X coordinate of the start of the line.
TInt aY Logical Y coordinate of the line.
TInt aLength Source data - length in pixels.
TUint32 * aBuffer Source data. Must be in the format returned by ScanLineDisplayMode().
CGraphicsContext::TDrawMode aDrawMode Combination function for source and destination pixels.

WriteLine(TInt, TInt, TInt, TUint32 *)

void WriteLine ( TInt aX,
TInt aY,
TInt aLength,
TUint32 * aBuffer
) [protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aLength
TUint32 * aBuffer

WriteLineAND(TInt, TInt, TInt, TUint32 *)

void WriteLineAND ( TInt aX,
TInt aY,
TInt aLength,
TUint32 * aBuffer
) [protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aLength
TUint32 * aBuffer

WriteLineOR(TInt, TInt, TInt, TUint32 *)

void WriteLineOR ( TInt aX,
TInt aY,
TInt aLength,
TUint32 * aBuffer
) [protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aLength
TUint32 * aBuffer

WriteLineXOR(TInt, TInt, TInt, TUint32 *)

void WriteLineXOR ( TInt aX,
TInt aY,
TInt aLength,
TUint32 * aBuffer
) [protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aLength
TUint32 * aBuffer

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

void WriteRgb ( TInt aX,
TInt aY,
TRgb aColor,
CGraphicsContext::TDrawMode aDrawMode
) [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 aX X coordinate (logical coordinates)
TInt aY Y coordinate (logical coordinates)
TRgb aColor Colour to write
CGraphicsContext::TDrawMode aDrawMode Combination function for source and destination pixels.

WriteRgb(TInt, TInt, TRgb)

void WriteRgb ( TInt aX,
TInt aY,
TRgb aColor
) [protected, pure virtual]

Parameters

TInt aX
TInt aY
TRgb aColor

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

void WriteRgb ( TInt & aWidth,
TInt & aHeight,
TInt & aX,
TInt & aY,
TRgb aColor,
CGraphicsContext::TDrawMode aDrawMode
) [private]

Parameters

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

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

void WriteRgbAlphaLine ( TInt aX,
TInt aY,
TInt aLength,
TUint8 * aRgbBuffer,
TUint8 * aMaskBuffer,
CGraphicsContext::TDrawMode aDrawMode
) [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 aX Logical X coordinate of the position in the target the result should be drawn to.
TInt aY Logical Y coordinate of the position in the target the result should be drawn to.
TInt aLength Source data - length in pixels.
TUint8 * aRgbBuffer A pointer to a line of the source bitmap data.
TUint8 * aMaskBuffer Buffer 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)

void WriteRgbAlphaLine ( TInt aX,
TInt aY,
TInt aLength,
const TUint8 * aRgbBuffer1,
const TUint8 * aBuffer2,
const TUint8 * aMaskBuffer,
CGraphicsContext::TDrawMode aDrawMode
) [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 aX Logical X coordinate of the position in the target the result should be drawn to.
TInt aY Logical Y coordinate of the position in the target the result should be drawn to.
TInt aLength Source data - length in pixels.
const TUint8 * aRgbBuffer1 A pointer to a line of the source bitmap data 1.
const TUint8 * aBuffer2 A 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 * aMaskBuffer Buffer containing the data which should be used as an alpha blending factor.
CGraphicsContext::TDrawMode aDrawMode Drawing mode

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

void WriteRgbMulti ( TInt aX,
TInt aY,
TInt aLength,
TInt aHeight,
TRgb aColor,
CGraphicsContext::TDrawMode aDrawMode
) [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 aX X coordinate (logical coordinates)
TInt aY Y coordinate (logical coordinates)
TInt aLength Width of the rectangle (logical coordinates)
TInt aHeight Height of the rectangle (logical coordinates)
TRgb aColor Colour to write
CGraphicsContext::TDrawMode aDrawMode Combination function for source and destination pixels.

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

void WriteRgbMulti ( TInt aX,
TInt aY,
TInt aWidth,
TInt aLength,
TRgb aColor
) [protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aWidth
TInt aLength
TRgb aColor

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

void WriteRgbMultiAND ( TInt aX,
TInt aY,
TInt aWidth,
TInt aLength,
TRgb aColor
) [protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aWidth
TInt aLength
TRgb aColor

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

void WriteRgbMultiOR ( TInt aX,
TInt aY,
TInt aWidth,
TInt aLength,
TRgb aColor
) [protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aWidth
TInt aLength
TRgb aColor

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

void WriteRgbMultiXOR ( TInt aX,
TInt aY,
TInt aWidth,
TInt aLength,
TRgb aColor
) [protected, pure virtual]

Parameters

TInt aX
TInt aY
TInt aWidth
TInt aLength
TRgb aColor

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

void XORPixels ( TPixelType * aPixelPtr,
TPixelType aValue,
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]