Documentation for <wlr/util/transform.h>
Table of contents
wlr_output_transform_compose() ¶
enum wl_output_transform wlr_output_transform_compose(enum wl_output_transform tr_a, enum wl_output_transform tr_b);
Returns a transform that, when applied, has the same effect as applying sequentially `tr_a` and `tr_b`.
wlr_output_transform_coords() ¶
void wlr_output_transform_coords(enum wl_output_transform tr, int *x, int *y);
Applies a transform to coordinates.
wlr_output_transform_invert() ¶
enum wl_output_transform wlr_output_transform_invert(enum wl_output_transform tr);
Returns the transform that, when composed with `tr`, gives `WL_OUTPUT_TRANSFORM_NORMAL`.