Mir
Classes | Typedefs
window_coordinate_translation.h File Reference
#include "mir_toolkit/mir_extension_core.h"
Include dependency graph for window_coordinate_translation.h:

Go to the source code of this file.

Classes

struct  MirExtensionWindowCoordinateTranslationV1
 

Typedefs

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. More...
 
typedef struct MirExtensionWindowCoordinateTranslationV1 MirExtensionWindowCoordinateTranslationV1
 

Typedef Documentation

◆ 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]windowThe window
[in]x,ySurface coordinates to map to screen coordinates
[out]screen_x,screen_yThe 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-2018 Canonical Ltd.
Generated on Sat Mar 31 14:22:42 UTC 2018