From 00ccb89288d8d64c2f47282e74cf59967be7178b Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 8 Jun 2020 17:21:10 +0200 Subject: util/region: add wlr_region_scale_xy --- include/wlr/util/region.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/wlr/util') diff --git a/include/wlr/util/region.h b/include/wlr/util/region.h index c3dbd78a..9e193722 100644 --- a/include/wlr/util/region.h +++ b/include/wlr/util/region.h @@ -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`. */ -- cgit v1.2.3