RScreenDisplay Class Reference

class RScreenDisplay

Internal class - not part of interface

Public Member Functions
RScreenDisplay(TDrawTextLayoutContext *const )
voidActivateContext()
voidActivateContext(CGraphicsContext *)
voidAddRects(TUint)
CBitmapContext *BitmapContext()
CBitmapDevice *BitmapDevice()
voidBlastBitmap(const TPoint &, const CFbsBitmap *, const TRect &)
voidClearRect(const TRect &)
TRect ClippingRect()
voidClose()
voidCreateContextL(CBitmapDevice *)
voidCreateContextL()
voidDeactivateContext()
voidDeactivateContext(CGraphicsContext *)
voidDestroy()
voidDrawPictureFrame(TFrameOverlay *, const TRect &)
voidFlush()
voidInvalidate(TRect)
voidInvertRect(TRect, const TRgb)
TBool IsLineCursor()
CTextLayout *Layout()
TRect LineCursorMargin()
voidRemoveTextCursor()
voidResetClippingRect()
voidScroll(TRect, const TPoint &, TBool)
voidSetBitmapContext(CBitmapContext *)
voidSetGraphicsDeviceL(CBitmapDevice *)
voidSetInvalidRect(const TRect &)
voidSetInvalidRect(TInt)
voidSetInvalidRectHorizontal(TInt)
voidSetLayout(CTextLayout *)
voidSetRects(TUint)
voidSetTextCursor(TPoint, const TTextCursor &)
voidSetWindow(RWindow *)
voidSetWindowGroup(RWindowGroup *)
voidSetWindowsServer(RWsSession *)
voidSubRects(TUint)
TPoint TopLeftTextArea()
TBool UseWindowGc()
RWindow *Window()
RWsSession *WindowServerSession()
Private Member Functions
voidDestroyContexts()
Public Member Enumerations
enumTClippingRects {
EFClipTextArea = 0x0001, EFClipLineCursor = 0x0002, EFClipExtendedTextArea = 0x0004, EFClipViewRect = 0x0008, EFClipExtendedViewRect = 0x0010, EFClipInvalid = 0x0200, EFClipAllFlags = 0xFFFF
}
Private Attributes
TLogicalRgb iBackground
TDrawTextLayoutContext *constiDrawTextLayoutContext
CBitmapContext *iGc
CBitmapDevice *iGd
RWindowGroup *iGroupWin
TRect iInvalidRect
TUint iRects
RWsSession *iSession
CTextLayout *iTextLayout
RWindow *iWin

Constructor & Destructor Documentation

RScreenDisplay(TDrawTextLayoutContext *const)

RScreenDisplay(TDrawTextLayoutContext *const aDrawTextLayoutContext)

Parameters

TDrawTextLayoutContext *const aDrawTextLayoutContext

Member Functions Documentation

ActivateContext()

voidActivateContext()

ActivateContext(CGraphicsContext *)

voidActivateContext(CGraphicsContext *aGc)

Parameters

CGraphicsContext * aGc

AddRects(TUint)

voidAddRects(TUintaRects)

Parameters

TUint aRects

BitmapContext()

CBitmapContext *BitmapContext()const [inline]

BitmapDevice()

CBitmapDevice *BitmapDevice()const [inline]

BlastBitmap(const TPoint &, const CFbsBitmap *, const TRect &)

voidBlastBitmap(const TPoint &aPoint,
const CFbsBitmap *aBitmap,
const TRect &aRect
)

Parameters

const TPoint & aPoint
const CFbsBitmap * aBitmap
const TRect & aRect

ClearRect(const TRect &)

voidClearRect(const TRect &aRect)

Parameters

const TRect & aRect

ClippingRect()

TRect ClippingRect()

Close()

voidClose()

CreateContextL(CBitmapDevice *)

voidCreateContextL(CBitmapDevice *aGd)

Parameters

CBitmapDevice * aGd

CreateContextL()

voidCreateContextL()

DeactivateContext()

voidDeactivateContext()

DeactivateContext(CGraphicsContext *)

voidDeactivateContext(CGraphicsContext *aGc)

Parameters

CGraphicsContext * aGc

Destroy()

voidDestroy()

DestroyContexts()

voidDestroyContexts()[private]

DrawPictureFrame(TFrameOverlay *, const TRect &)

voidDrawPictureFrame(TFrameOverlay *aPictureFrame,
const TRect &aLineRect
)

Parameters

TFrameOverlay * aPictureFrame
const TRect & aLineRect

Flush()

voidFlush()

Invalidate(TRect)

voidInvalidate(TRectaRect)

Parameters

TRect aRect

InvertRect(TRect, const TRgb)

voidInvertRect(TRectaRect,
const TRgbaInvertColor
)

Parameters

TRect aRect
const TRgb aInvertColor

IsLineCursor()

TBool IsLineCursor()const

Layout()

CTextLayout *Layout()

LineCursorMargin()

TRect LineCursorMargin()const

RemoveTextCursor()

voidRemoveTextCursor()

ResetClippingRect()

voidResetClippingRect()

Scroll(TRect, const TPoint &, TBool)

voidScroll(TRectaRect,
const TPoint &aBy,
TBoolaScrollBackground
)

Parameters

TRect aRect
const TPoint & aBy
TBool aScrollBackground

SetBitmapContext(CBitmapContext *)

voidSetBitmapContext(CBitmapContext *aGc)[inline]

Parameters

CBitmapContext * aGc

SetGraphicsDeviceL(CBitmapDevice *)

voidSetGraphicsDeviceL(CBitmapDevice *aGd)

Parameters

CBitmapDevice * aGd

SetInvalidRect(const TRect &)

voidSetInvalidRect(const TRect &aRect)

Parameters

const TRect & aRect

SetInvalidRect(TInt)

voidSetInvalidRect(TIntaHeight)

Parameters

TInt aHeight

SetInvalidRectHorizontal(TInt)

voidSetInvalidRectHorizontal(TIntaWidth)

Parameters

TInt aWidth

SetLayout(CTextLayout *)

voidSetLayout(CTextLayout *aLayout)

Parameters

CTextLayout * aLayout

SetRects(TUint)

voidSetRects(TUintaRects)

Parameters

TUint aRects

SetTextCursor(TPoint, const TTextCursor &)

voidSetTextCursor(TPointaPos,
const TTextCursor &aCursor
)

Parameters

TPoint aPos
const TTextCursor & aCursor

SetWindow(RWindow *)

voidSetWindow(RWindow *aWin)

Parameters

RWindow * aWin

SetWindowGroup(RWindowGroup *)

voidSetWindowGroup(RWindowGroup *aWin)[inline]

Parameters

RWindowGroup * aWin

SetWindowsServer(RWsSession *)

voidSetWindowsServer(RWsSession *aSession)[inline]

Parameters

RWsSession * aSession

SubRects(TUint)

voidSubRects(TUintaRects)

Parameters

TUint aRects

TopLeftTextArea()

TPoint TopLeftTextArea()const

UseWindowGc()

TBool UseWindowGc()const

Window()

RWindow *Window()const [inline]

WindowServerSession()

RWsSession *WindowServerSession()[inline]

Member Enumerations Documentation

Enum TClippingRects

Enumerators

EFClipTextArea = 0x0001
EFClipLineCursor = 0x0002
EFClipExtendedTextArea = 0x0004
EFClipViewRect = 0x0008
EFClipExtendedViewRect = 0x0010
EFClipInvalid = 0x0200
EFClipAllFlags = 0xFFFF

Member Data Documentation

TLogicalRgb iBackground

TLogicalRgb iBackground[private]

TDrawTextLayoutContext *const iDrawTextLayoutContext

TDrawTextLayoutContext *constiDrawTextLayoutContext[private]

CBitmapContext * iGc

CBitmapContext *iGc[private]

CBitmapDevice * iGd

CBitmapDevice *iGd[private]

RWindowGroup * iGroupWin

RWindowGroup *iGroupWin[private]

TRect iInvalidRect

TRect iInvalidRect[private]

TUint iRects

TUint iRects[private]

RWsSession * iSession

RWsSession *iSession[private]

CTextLayout * iTextLayout

CTextLayout *iTextLayout[private]

RWindow * iWin

RWindow *iWin[private]