2017-09-23 10:26:01 +02:00
|
|
|
#ifndef WLR_TYPES_WLR_REGION_H
|
|
|
|
#define WLR_TYPES_WLR_REGION_H
|
2017-08-09 16:24:28 +02:00
|
|
|
|
2018-02-13 23:48:46 +01:00
|
|
|
#include <pixman.h>
|
|
|
|
|
2017-08-09 16:24:28 +02:00
|
|
|
struct wl_resource;
|
|
|
|
|
2017-08-14 17:09:56 +02:00
|
|
|
/*
|
|
|
|
* Implements the given resource as region.
|
|
|
|
*/
|
2017-08-10 11:57:58 +02:00
|
|
|
void wlr_region_create(struct wl_client *client, struct wl_resource *res,
|
2018-02-13 23:48:46 +01:00
|
|
|
uint32_t id);
|
|
|
|
|
|
|
|
pixman_region32_t *wlr_region_from_resource(struct wl_resource *resource);
|
2017-08-09 16:24:28 +02:00
|
|
|
|
|
|
|
#endif
|