From a98ece68d32031dbd81b0064fad659515fc09f76 Mon Sep 17 00:00:00 2001 From: emersion Date: Thu, 25 Jan 2018 21:54:51 +0100 Subject: [PATCH] util: add docs for wlr_region_scale --- include/wlr/util/region.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/wlr/util/region.h b/include/wlr/util/region.h index 416adbf2..e268436b 100644 --- a/include/wlr/util/region.h +++ b/include/wlr/util/region.h @@ -3,6 +3,12 @@ #include +/** + * Scales a region, ie. multiplies all its coordinates by `scale`. + * + * The resulting coordinates are rounded up or down so that the new region is + * at least as big as the original one. + */ void wlr_region_scale(pixman_region32_t *dst, pixman_region32_t *src, float scale);