class MTestScreenCapture |
Window Server client interface for screen capture.
All functions in MTestScreenCapture will automatically flush the client-server session buffer as part of their behavior.
Public Member Functions | |
---|---|
TInt | ComposeScreen(const CFbsBitmap &) |
TInt | GetCompositedSize(TSize &) |
TInt | TranslateExtent(const TRect &, TRect &) |
Public Member Enumerations | |
---|---|
enum | anonymous { KUidTestScreenCaptureIf = 0x10286504, ETypeId = KUidTestScreenCaptureIf } |
enum | TWsTestScreenCaptureOpcodes { EWsScsInvalid = 0x00000000, EWsScsScreenCompose = 0x00000001, EWsScsTranslateExtent = 0x00000002 } |
TInt | ComposeScreen | ( | const CFbsBitmap & | aBitmap | ) | const [pure virtual] |
Retrieves the composited screen content. A new composition is initiated and the result is copied in the bitmap created by user. The only bitmap mode supported is EColor16MU.
This function always causes a flush of the window server buffer.
const CFbsBitmap & aBitmap | retturns the composited screen content. |
TInt | GetCompositedSize | ( | TSize & | aSize | ) | const [pure virtual] |
Retrieves the size of the composition area in pixels.
This function always causes a flush of the window server buffer.
TSize & aSize | returns the composition area size |
TInt | TranslateExtent | ( | const TRect & | aSource, |
TRect & | aTarget | |||
) | const [pure virtual] |
Maps the source rectangle from application coordinate space to a target coordinate space. Since there may be scaling involved, the target rectangle may be larger or smaller than the source one, or even become empty.
This function always causes a flush of the window server buffer.
EWsScsInvalid = 0x00000000 | |
EWsScsScreenCompose = 0x00000001 | |
EWsScsTranslateExtent = 0x00000002 |
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.