CHuiCanvasCmdBufferReader Class Reference

class CHuiCanvasCmdBufferReader : public CBase

Inherits from

  • CHuiCanvasCmdBufferReader

Constructor & Destructor Documentation

CHuiCanvasCmdBufferReader()

CHuiCanvasCmdBufferReader()

Constructor.

CHuiCanvasCmdBufferReader(RMemReadStream)

CHuiCanvasCmdBufferReader(RMemReadStreamaStream)

Constructor.

Parameters

RMemReadStream aStream

~CHuiCanvasCmdBufferReader()

~CHuiCanvasCmdBufferReader()

Destructor.

Member Functions Documentation

DeletePointArrayL(TPoint *&, TInt &)

voidDeletePointArrayL(TPoint *&aPointArray,
TInt &aNumPoints
)

DeletePointArrayL Convinience function deleting the point array

Since
S60 ?S60_version

Parameters

TPoint *& aPointArray
TInt & aNumPointsNumber of points

Init(TPtr8 &, TInt)

voidInit(TPtr8 &aDes,
TIntaLength
)

Initialization, opens a stream for reading commandbuffer.

Since
S60 ?S60_version

Parameters

TPtr8 & aDes
TInt aLength

ReadBitmapHandleL(TInt &)

voidReadBitmapHandleL(TInt &aBitmapHandle)

ReadBitmapHandleL Convinience function for reading a bitmap from stream. It duplicates the bitmap from a bitmap handle.

Since
S60 ?S60_version

Parameters

TInt & aBitmapHandle

ReadBitmapLC(CFbsBitmap *&)

voidReadBitmapLC(CFbsBitmap *&aBitmap)

ReadBitmapL Convinience function for reading a bitmap from stream. It duplicates the bitmap from a bitmap handle.

Since
S60 ?S60_version

Parameters

CFbsBitmap *& aBitmap

ReadColorL(TRgb &)

voidReadColorL(TRgb &aColor)

ReadColorL Convinience function for reading a TRgb from stream

Since
S60 ?S60_version

Parameters

TRgb & aColor

ReadInt32L(TInt &)

voidReadInt32L(TInt &aValue)

ReadInt32L Convinience function for reading a TInt32 from stream.

Since
S60 ?S60_version

Parameters

TInt & aValue

ReadInt8L()

TUint8 ReadInt8L()[inline]

ReadInt8L Convinience function for reading Int8 from stream

Since
S60 ?S60_version

ReadIntsL(TInt, TInt)

voidReadIntsL(TIntaCount,
TIntaValues
)

ReadIntsL Convinience function for reading maximum of 5 TInts from the stream

Since
S60 ?S60_version

Parameters

TInt aCount
TInt aValues

ReadL(TUint8 *, TInt)

voidReadL(TUint8 *aTargetPtr,
TIntaLength
)[inline]

Parameters

TUint8 * aTargetPtr
TInt aLength

ReadPointArrayL(CArrayFix< TPoint > *&)

voidReadPointArrayL(CArrayFix< TPoint > *&aPointArray)

ReadPointArrayL Convinience function for reading a pointer array from stream

Since
S60 ?S60_version

Parameters

CArrayFix< TPoint > *& aPointArray

ReadPointArrayL(TPoint *&, TInt &)

voidReadPointArrayL(TPoint *&aPointArray,
TInt &aNumPoints
)

ReadPointArrayL Convinience function for reading a pointer array from stream

Since
S60 ?S60_version

Parameters

TPoint *& aPointArray
TInt & aNumPoints

ReadPointL(TPoint &)

voidReadPointL(TPoint &aPoint)

ReadPointL Convinience function for reading a TPoint from stream

Since
S60 ?S60_version

Parameters

TPoint & aPoint

ReadRectL(TRect &)

voidReadRectL(TRect &aRect)

ReadRectL Convinience function for reading a TRect from stream

Since
S60 ?S60_version

Parameters

TRect & aRect

ReadRegionL(RRegion &)

voidReadRegionL(RRegion &aRegion)

ReadRegionL Convinience function for reading a RRegion from stream

Since
S60 ?S60_version

Parameters

RRegion & aRegion

ReadTextL(TPtr &, THuiCanvasTextParameters &)

TBool ReadTextL(TPtr &aText,
THuiCanvasTextParameters &aTextParameters
)

ReadTextL Returns TPtr to a text in the command buffer stream. Note, that this function does not make a copy of the text.

Since
S60 ?S60_version

Parameters

TPtr & aText
THuiCanvasTextParameters & aTextParameters

Stream()

RMemReadStream &Stream()

Convinience function for getting a reference to stream.

Since
S60 ?S60_version

Member Data Documentation

TPtr8 * iBasePtr

TPtr8 *iBasePtr[private]

TInt iBufferIndex

TInt iBufferIndex[private]

TInt iBufferLength

TInt iBufferLength[private]

TPtr16 * iCachedText

TPtr16 *iCachedText[private]

RMemReadStream iStream

RMemReadStream iStream[private]