mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
rootston: damage tracking for rotated views
This commit is contained in:
parent
a011a1cb07
commit
7111dd79ef
6 changed files with 74 additions and 13 deletions
|
|
@ -26,4 +26,10 @@ void wlr_box_transform(const struct wlr_box *box,
|
|||
enum wl_output_transform transform, int width, int height,
|
||||
struct wlr_box *dest);
|
||||
|
||||
/**
|
||||
* Creates the smallest box that contains a rotated box.
|
||||
*/
|
||||
void wlr_box_rotated_bounds(const struct wlr_box *box, float rotation,
|
||||
struct wlr_box *dest);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue