mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-25 06:59:42 -05:00
scene: add wlr_scene_node_coords
This commit is contained in:
parent
04d105760d
commit
9195b77e14
2 changed files with 22 additions and 0 deletions
|
|
@ -118,6 +118,12 @@ void wlr_scene_node_place_below(struct wlr_scene_node *node,
|
|||
*/
|
||||
void wlr_scene_node_reparent(struct wlr_scene_node *node,
|
||||
struct wlr_scene_node *new_parent);
|
||||
/**
|
||||
* Get the node's layout-local coordinates.
|
||||
*
|
||||
* True is returned if the node and all of its ancestors are enabled.
|
||||
*/
|
||||
bool wlr_scene_node_coords(struct wlr_scene_node *node, int *lx, int *ly);
|
||||
/**
|
||||
* Call `iterator` on each surface in the scene-graph, with the surface's
|
||||
* position in layout coordinates. The function is called from root to leaves
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue