From 1bea754521e046287a5eff56fc56c1bd42b36c1f Mon Sep 17 00:00:00 2001 From: nyorain Date: Wed, 9 Aug 2017 16:24:28 +0200 Subject: Implement wlr_region using pixman --- include/wlr/types/wlr_region.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 include/wlr/types/wlr_region.h (limited to 'include') diff --git a/include/wlr/types/wlr_region.h b/include/wlr/types/wlr_region.h new file mode 100644 index 00000000..9fff0150 --- /dev/null +++ b/include/wlr/types/wlr_region.h @@ -0,0 +1,10 @@ +#ifndef _WLR_TYPES_REGION_H +#define _WLR_TYPES_REGION_H + +struct wl_resource; + +// Implements the given resource as region. +// Sets the associated pixman_region32_t as userdata. +void wlr_region_create(struct wl_resource *res); + +#endif -- cgit v1.2.3