Method
PhocDesktoplayer_surface_at
Declaration [src]
PhocLayerSurface*
phoc_desktop_layer_surface_at (
PhocDesktop* self,
double lx,
double ly,
double* sx,
double* sy
)
Description [src]
Looks up the surface at lx,ly and returns the topmost surface at that position
if it is a layersurface, NULL otherwise.
Parameters
lx-
Type:
doubleX coordinate the layer surface to look up at in layout coordinates.
ly-
Type:
doubleY coordinate the layer surface to look up at in layout coordinates.
sx-
Type:
double*Surface relative x coordinate.
The argument will be set by the function. The argument can be set to NULLby the method. sy-
Type:
double*Surface relative y coordinate.
The argument will be set by the function. The argument can be set to NULLby the method.
Return value
Type: PhocLayerSurface
The PhocLayerSurface.
| The returned data is owned by the instance. |
The return value can be NULL. |