Documentation for <wlr/types/wlr_region.h>

Back to index

Table of contents

wlr_region_from_resource()

const pixman_region32_t *wlr_region_from_resource(​struct wl_resource *resource);

Obtain a Pixman region from a wl_region resource.

To allow clients to create wl_region objects, call wlr_compositor_create().