mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 02:19:49 +01:00
util: add docs for wlr_region_scale
This commit is contained in:
parent
4223fbc763
commit
a98ece68d3
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,12 @@
|
|||
|
||||
#include <pixman.h>
|
||||
|
||||
/**
|
||||
* Scales a region, ie. multiplies all its coordinates by `scale`.
|
||||
*
|
||||
* The resulting coordinates are rounded up or down so that the new region is
|
||||
* at least as big as the original one.
|
||||
*/
|
||||
void wlr_region_scale(pixman_region32_t *dst, pixman_region32_t *src,
|
||||
float scale);
|
||||
|
||||
|
|
Loading…
Reference in a new issue