mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Implement wlr_region using pixman
This commit is contained in:
parent
a77fac0760
commit
1bea754521
5 changed files with 58 additions and 1 deletions
10
include/wlr/types/wlr_region.h
Normal file
10
include/wlr/types/wlr_region.h
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue