Prev
Next
A.20. wl_region - region interface
A region object describes an area.
Region objects are used to describe the opaque and input regions of a surface.
A.20.1. Requests provided by wl_region
A.20.1.1. wl_region::destroy - destroy region
Destroy the region. This will invalidate the object ID.
A.20.1.2. wl_region::add - add rectangle to region
Add the specified rectangle to the region.
wl_region::add arguments
x
Type: int
y
Type: int
width
Type: int
height
Type: int
A.20.1.3. wl_region::subtract - subtract rectangle from region
Subtract the specified rectangle from the region.
wl_region::subtract arguments
x
Type: int
y
Type: int
width
Type: int
height
Type: int
Prev
A.19. wl_output - compositor output region
Up
Home
Next
Chapter 5. Wayland Library