mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
util/region: add wlr_region_scale_xy
This commit is contained in:
parent
9814213a91
commit
00ccb89288
2 changed files with 13 additions and 5 deletions
|
|
@ -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`.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue