aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/util/region.h3
1 files changed, 3 insertions, 0 deletions
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`.
*/