SDL
2.0
|
Macros | |
#define | WL_REGION_DESTROY_SINCE_VERSION 1 |
#define | WL_REGION_ADD_SINCE_VERSION 1 |
#define | WL_REGION_SUBTRACT_SINCE_VERSION 1 |
Functions | |
static void | wl_region_set_user_data (struct wl_region *wl_region, void *user_data) |
static void * | wl_region_get_user_data (struct wl_region *wl_region) |
static void | wl_region_destroy (struct wl_region *wl_region) |
static void | wl_region_add (struct wl_region *wl_region, int32_t x, int32_t y, int32_t width, int32_t height) |
static void | wl_region_subtract (struct wl_region *wl_region, int32_t x, int32_t y, int32_t width, int32_t height) |
A region object describes an area.
Region objects are used to describe the opaque and input regions of a surface.
#define WL_REGION_ADD_SINCE_VERSION 1 |
Definition at line 5249 of file wayland-client-protocol.h.
#define WL_REGION_DESTROY_SINCE_VERSION 1 |
Definition at line 5245 of file wayland-client-protocol.h.
#define WL_REGION_SUBTRACT_SINCE_VERSION 1 |
Definition at line 5253 of file wayland-client-protocol.h.
|
inlinestatic |
Add the specified rectangle to the region.
Definition at line 5295 of file wayland-client-protocol.h.
References WL_REGION_ADD.
|
inlinestatic |
Destroy the region. This will invalidate the object ID.
Definition at line 5281 of file wayland-client-protocol.h.
References WL_REGION_DESTROY.
|
inlinestatic |
Definition at line 5264 of file wayland-client-protocol.h.
Definition at line 5257 of file wayland-client-protocol.h.
|
inlinestatic |
Subtract the specified rectangle from the region.
Definition at line 5307 of file wayland-client-protocol.h.
References WL_REGION_SUBTRACT.