class MDisplayMapping : public MDisplayMappingBase |
Provides the Window Server client coordinate space mapping functions.
Public Member Functions | |
---|---|
void | GetDisplayExtentOfWindow (const RWindowBase &, TRect &) |
void | GetMaximumSurfaceSize ( TSize &, TSize &) |
void | GetMaximumWindowExtent ( TRect &) |
Inherited Functions | |
---|---|
MDisplayMappingBase::MapCoordinates(TCoordinateSpace,const TRect &,TCoordinateSpace,TRect &)const |
Public Member Enumerations | |
---|---|
enum | anonymous { KUidDisplayMapping = 0x1028656B, ETypeId = KUidDisplayMapping } |
Inherited Enumerations | |
---|---|
MDisplayMappingBase:@165 |
void | GetDisplayExtentOfWindow | ( | const RWindowBase & | aWindow, |
TRect & | aExtent | |||
) | const [pure virtual] |
Retrieves the extent of a window relative to the top-left corner of the display.
This will differ from the window's AbsPosition() if the current screen size mode is offset from the corner of the display, or if the user interface is being scaled on the display.
const RWindowBase & aWindow | window in question |
TRect & aExtent | extent to be filled in |
void | GetMaximumSurfaceSize | ( | TSize & | aPixels, |
TSize & | aTwips | |||
) | const [pure virtual] |
Returns the maximum useful size for a surface to be shown on the display at the current resolution, in both pixels and twips.
This may be larger than both the screen device SizeInPixels() and the size of the maximum window extent, if the user interface is being scaled by the display. In general, the value will be the native display resolution.
MDisplayControl CWsScreenDevice::SizeInPixels
void | GetMaximumWindowExtent | ( | TRect & | aExtent | ) | const [pure virtual] |
Retrieves the largest window extent that is visible at the current display resolution. This may be larger than the size reported by SizeInPixels(), and have a negative top-left position, for example.
MDisplayControl CWsScreenDevice::SizeInPixels
TRect & aExtent | extent to be filled in |
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.