util: add docs for wlr_region_scale

master
emersion 7 years ago
parent 4223fbc763
commit a98ece68d3
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

@ -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…
Cancel
Save