2018-07-13 14:40:56 +02:00
|
|
|
/*
|
2021-07-01 10:45:25 +02:00
|
|
|
* This is a stable interface of wlroots. Future changes will be limited to:
|
|
|
|
*
|
|
|
|
* - New functions
|
|
|
|
* - New struct members
|
|
|
|
* - New enum members
|
|
|
|
*
|
|
|
|
* Note that wlroots does not make an ABI compatibility promise - in the future,
|
|
|
|
* the layout and size of structs used by wlroots may change, requiring code
|
|
|
|
* depending on this header to be recompiled (but not edited).
|
|
|
|
*
|
2021-07-05 15:34:24 +02:00
|
|
|
* Breaking changes are announced in the release notes and follow a 1-year
|
|
|
|
* deprecation schedule.
|
2018-07-13 14:40:56 +02:00
|
|
|
*/
|
|
|
|
|
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
|
|
|
|
2021-07-01 10:45:25 +02:00
|
|
|
struct wl_resource;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Obtain a Pixman region from a wl_region resource.
|
|
|
|
*
|
|
|
|
* To allow clients to create wl_region objects, call wlr_compositor_create().
|
|
|
|
*/
|
2018-02-13 23:48:46 +01:00
|
|
|
pixman_region32_t *wlr_region_from_resource(struct wl_resource *resource);
|
2017-08-09 16:24:28 +02:00
|
|
|
|
|
|
|
#endif
|