|
|
@ -78,9 +78,17 @@ bool wlr_box_empty(const struct wlr_box *box);
|
|
|
|
void wlr_box_transform(struct wlr_box *dest, const struct wlr_box *box,
|
|
|
|
void wlr_box_transform(struct wlr_box *dest, const struct wlr_box *box,
|
|
|
|
enum wl_output_transform transform, int width, int height);
|
|
|
|
enum wl_output_transform transform, int width, int height);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Checks whether a box is empty or not.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* A wlr_box is considered empty if its width and/or height is zero or negative.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
bool wlr_fbox_empty(const struct wlr_fbox *box);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Transforms a floating-point box inside a (0, 0, width, height) box.
|
|
|
|
* Transforms a floating-point box inside a (0, 0, width, height) box.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void wlr_fbox_transform(struct wlr_fbox *dest, const struct wlr_fbox *box,
|
|
|
|
void wlr_fbox_transform(struct wlr_fbox *dest, const struct wlr_fbox *box,
|
|
|
|
enum wl_output_transform transform, double width, double height);
|
|
|
|
enum wl_output_transform transform, double width, double height);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|