util/region: add wlr_region_scale_xy

This commit is contained in:
Simon Ser 2020-06-08 17:21:10 +02:00 committed by Drew DeVault
parent 9814213a91
commit 00ccb89288
2 changed files with 13 additions and 5 deletions

View file

@ -30,6 +30,9 @@
void wlr_region_scale(pixman_region32_t *dst, pixman_region32_t *src,
float scale);
void wlr_region_scale_xy(pixman_region32_t *dst, pixman_region32_t *src,
float scale_x, float scale_y);
/**
* Applies a transform to a region inside a box of size `width` x `height`.
*/