MWsScreenDevice Class Reference
class MWsScreenDevice : public MWsObjectProvider
|
Render Stage Screen Device abstraction.
Render Stages provide this interface as an abstraction of the target screen. The screen may not be pixel based, in which case read back of pixel data may not be a reflection of what appears on the screen. The screen might also only be partially readable, for example external video surfaces may be blanked out when a read back is done. The intention of the CopyScreenToBitmap methods is to provide a means to obtain a snapshot of the entire screen for architectures where a composition of the screen can be done once followed by a read back of the entire screen, as opposed to servicing a sequence of GetScanLine calls which may be prohibitively expensive.
Member Functions Documentation
ClearDisplay(TRgb)
void
|
ClearDisplay
|
(
|
TRgb
|
aBackColor
|
)
|
[pure virtual]
|
CopyScreenToBitmapL(CFbsBitmap *, const TRect &)
void
|
CopyScreenToBitmapL
|
(
|
CFbsBitmap
*
|
aBitmap,
|
|
const
TRect
&
|
aRect
|
|
)
|
const [pure virtual]
|
DECLARE_WS_TYPE_ID(KMWsScreenDevice)
DECLARE_WS_TYPE_ID
|
(
|
KMWsScreenDevice
|
|
)
|
const [pure virtual]
|
DisplayMode()
TDisplayMode
|
DisplayMode
|
(
|
)
|
const [pure virtual]
|
GetPixel(TRgb &, const TPoint &)
void
|
GetPixel
|
(
|
TRgb
&
|
aColor,
|
|
const
TPoint
&
|
aPixel
|
|
)
|
const [pure virtual]
|
GetScanLine(TDes8 &, const TPoint &, TInt, TDisplayMode)
void
|
GetScanLine
|
(
|
TDes8
&
|
aScanLine,
|
|
const
TPoint
&
|
aStartPixel,
|
|
TInt
|
aPixelLength,
|
|
TDisplayMode
|
aDispMode
|
|
)
|
const [pure virtual]
|
Parameters
TDes8
& aScanLine
|
|
const
TPoint
& aStartPixel
|
|
TInt
aPixelLength
|
|
TDisplayMode
aDispMode
|
|
PointerRect()
TRect
|
PointerRect
|
(
|
)
|
const [pure virtual]
|
RectCompare(const TRect &, const TRect &)
TBool
|
RectCompare
|
(
|
const
TRect
&
|
aRect1,
|
|
const
TRect
&
|
aRect2
|
|
)
|
const [pure virtual]
|
SizeInPixels()
TSize
|
SizeInPixels
|
(
|
)
|
const [pure virtual]
|
SizeInTwips()
TSize
|
SizeInTwips
|
(
|
)
|
const [pure virtual]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.