Go to the source code of this file.
◆ MirExtensionWindowCoordinateTranslationV1
◆ MirExtensionWindowTranslateCoordinates
typedef void(* MirExtensionWindowTranslateCoordinates) (MirWindow *window, int x, int y, int *screen_x, int *screen_y) |
Get the screen coordinates corresponding to a pair of window coordinates.
- Precondition
- The window is valid
- Parameters
-
[in] | window | The window |
[in] | x,y | Surface coordinates to map to screen coordinates |
[out] | screen_x,screen_y | The screen coordinates corresponding to x, y. This call will only be interesting for automated testing, where both the client
and shell state is known and constrained. |
Copyright © 2012-2019
Canonical Ltd.
Generated on Fri Sep 27 10:46:30 UTC 2019
This documentation is licensed under the GPL version 2 or 3.