aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/util
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-06-08 17:21:10 +0200
committerDrew DeVault <sir@cmpwn.com>2020-06-17 09:10:54 -0600
commit00ccb89288d8d64c2f47282e74cf59967be7178b (patch)
treed8825dfea831214ddb15571196e36a3f2aac5d82 /include/wlr/util
parent9814213a91e7ceb0f8d422c45562fe0c5e74f2a9 (diff)
util/region: add wlr_region_scale_xy
Diffstat (limited to 'include/wlr/util')
-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`.
*/