CWsScreenDevice::CScrDevExtension Class Reference

class CWsScreenDevice::CScrDevExtension : public CBase

Inherits from

  • CWsScreenDevice::CScrDevExtension

Constructor & Destructor Documentation

CScrDevExtension(RWsBuffer *, TInt32)

CScrDevExtension ( RWsBuffer * aBuffer,
TInt32 aWsHandle
)

Parameters

RWsBuffer * aBuffer
TInt32 aWsHandle

~CScrDevExtension()

~CScrDevExtension ( )

Member Functions Documentation

ComposeScreen(const CFbsBitmap &)

TInt ComposeScreen ( const CFbsBitmap & aBitmap ) const [virtual]

Parameters

const CFbsBitmap & aBitmap

DisplayChangeEventsEnabled()

TBool DisplayChangeEventsEnabled ( ) const [virtual]

EnableDisplayChangeEvents(TBool)

void EnableDisplayChangeEvents ( TBool aEnable ) [virtual]

Parameters

TBool aEnable

FillResolutionArray(TInt, RArray< TResolution > &)

TInt FillResolutionArray ( TInt aNumOfRes,
RArray < TResolution > & aResolutions
) const [private]

Parameters

TInt aNumOfRes
RArray < TResolution > & aResolutions

GetCompositedSize(TSize &)

TInt GetCompositedSize ( TSize & aSize ) const [virtual]

Parameters

TSize & aSize

GetConfiguration(TDisplayConfiguration &)

void GetConfiguration ( TDisplayConfiguration & aConfig ) const [virtual]

Parameters

TDisplayConfiguration & aConfig

GetDisplayExtentOfWindow(const RWindowBase &, TRect &)

void GetDisplayExtentOfWindow ( const RWindowBase & aWindow,
TRect & aExtent
) const [virtual]

Parameters

const RWindowBase & aWindow
TRect & aExtent

GetInterface(TUint)

void * GetInterface ( TUint aId )
Interface Extension capability Use of this interface going forward will allow the published client interface to be dynamically extended. Note that the pointer returned is only good for the lifetime of the called CBase derived object.
Pre-condition
caller has already checked that the implementation is initialised using RepeatableConstruct

Parameters

TUint aId uniqueid or well known id of interface

GetMaximumSurfaceSize(TSize &, TSize &)

void GetMaximumSurfaceSize ( TSize & aPixels,
TSize & aTwips
) const [virtual]

Parameters

TSize & aPixels
TSize & aTwips

GetMaximumWindowExtent(TRect &)

void GetMaximumWindowExtent ( TRect & aExtent ) const [virtual]

Parameters

TRect & aExtent

GetResolutions(RArray< TResolution > &)

TInt GetResolutions ( RArray < TResolution > & aResolutions ) const [virtual]

Parameters

RArray < TResolution > & aResolutions

MapCoordinates(TCoordinateSpace, const TRect &, TCoordinateSpace, TRect &)

TInt MapCoordinates ( TCoordinateSpace aSourceSpace,
const TRect & aSource,
TCoordinateSpace aTargetSpace,
TRect & aTarget
) const [virtual]

Parameters

TCoordinateSpace aSourceSpace
const TRect & aSource
TCoordinateSpace aTargetSpace
TRect & aTarget

NumberOfResolutions()

TInt NumberOfResolutions ( ) const [virtual]

PreferredDisplayVersion()

TInt PreferredDisplayVersion ( ) const [virtual]

RepeatableConstruct()

TInt RepeatableConstruct ( )

Constructs the extension interface implementation, or returns error if interface is not available. After success, the interface is then always available and is not re-constructed if method called again, but after failure the construct attempt will be repeated (and fail again) if the method is called again. Clients would be expected to make then keep a pointer to this interface, not get new ones repeatedly. Note that if the extension was not allocated, then "this" could be NULL

SetConfiguration(const TDisplayConfiguration &)

TInt SetConfiguration ( const TDisplayConfiguration & aConfig ) [virtual]

Parameters

const TDisplayConfiguration & aConfig

SetTypefaceStore(CFbsTypefaceStore *)

void SetTypefaceStore ( CFbsTypefaceStore * )

Parameters

CFbsTypefaceStore *

TranslateExtent(const TRect &, TRect &)

TInt TranslateExtent ( const TRect & aInitial,
TRect & aTarget
) const [virtual]

Parameters

const TRect & aInitial
TRect & aTarget

TypefaceStore()

CFbsTypefaceStore * TypefaceStore ( )

WriteClient()

MWsClientClass * WriteClient ( ) const [protected]

Member Data Documentation

TInt iSupportedExtensionsBits

TInt iSupportedExtensionsBits [protected]

CFbsTypefaceStore * iTypefaceStore

CFbsTypefaceStore * iTypefaceStore [protected]