1TICKIT_RECTSET_NEW(3) Library Functions Manual TICKIT_RECTSET_NEW(3)
2
3
4
6 tickit_rectset_new, tickit_rectset_destroy - create or destroy a rec‐
7 tangle set
8
10 #include <tickit.h>
11
12 TickitRectSet *tickit_rectset_new(void);
13 void tickit_rectset_destroy(TickitRectSet *trs);
14
15 Link with -ltickit.
16
18 tickit_rectset_new() creates a new TickitRectSet instance. It will be
19 initially empty, containing no regions.
20
21 tickit_rectset_destroy() destroys the given instances and releases any
22 resources controlled by it.
23
25 If successful, tickit_rectset_new() returns a pointer to the new
26 instance. On failure, NULL is returned with errno set to indicate the
27 failure. tickit_rectset_destroy() returns no value.
28
30 tickit_rectset_add(3), tickit_rectset_subtract(3), tickit_rect‐
31 set_rects(3), tickit_rectset_get_rects(3), tickit_rectset(7), tickit(7)
32
33
34
35 TICKIT_RECTSET_NEW(3)