1TICKIT_RECTSET_SUBTRACT(3) Library Functions Manual TICKIT_RECTSET_SUBTRACT(3)
2
3
4
6 tickit_rectset_subtract - subtract a region from a rectangle set
7
9 #include <tickit.h>
10
11 void tickit_rectset_subtract(TickitRectSet *trs, const TickitRect *rect);
12
13 Link with -ltickit.
14
16 tickit_rectset_subtract() ensures that the regions stored by the rec‐
17 tangle set do not include the area given by rect. To do this, it may
18 have to split one or more of the existing regions into smaller frag‐
19 ments, and so may result in more regions being stored.
20
22 tickit_rectset_subtract() returns no value.
23
25 tickit_rectset_new(3), tickit_rectset(7), tickit_rect(7), tickit(7)
26
27
28
29 TICKIT_RECTSET_SUBTRACT(3)