mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-13 00:45:58 +01:00
Add output transform helpers docs
This commit is contained in:
parent
e737f65e38
commit
43435d4915
1 changed files with 10 additions and 0 deletions
|
@ -118,8 +118,18 @@ bool wlr_output_cursor_move(struct wlr_output_cursor *cursor,
|
|||
double x, double y);
|
||||
void wlr_output_cursor_destroy(struct wlr_output_cursor *cursor);
|
||||
|
||||
|
||||
/**
|
||||
* Returns the transform that, when composed with `tr`, gives
|
||||
* `WL_OUTPUT_TRANSFORM_NORMAL`.
|
||||
*/
|
||||
enum wl_output_transform wlr_output_transform_invert(
|
||||
enum wl_output_transform tr);
|
||||
|
||||
/**
|
||||
* Returns a transform that, when applied, has the same effect as applying
|
||||
* sequentially `tr_a` and `tr_b`.
|
||||
*/
|
||||
enum wl_output_transform wlr_output_transform_compose(
|
||||
enum wl_output_transform tr_a, enum wl_output_transform tr_b);
|
||||
|
||||
|
|
Loading…
Reference in a new issue