util: add docs for wlr_region_scale
This commit is contained in:
parent
4223fbc763
commit
a98ece68d3
|
@ -3,6 +3,12 @@
|
||||||
|
|
||||||
#include <pixman.h>
|
#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,
|
void wlr_region_scale(pixman_region32_t *dst, pixman_region32_t *src,
|
||||||
float scale);
|
float scale);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue