1TICKIT_RECTSET_ADD(3)      Library Functions Manual      TICKIT_RECTSET_ADD(3)
2
3
4

NAME

6       tickit_rectset_add - add an area to a rectangle set
7

SYNOPSIS

9       #include <tickit.h>
10
11       void tickit_rectset_add(TickitRectSet *trs, const TickitRect *rect);
12
13       Link with -ltickit.
14

DESCRIPTION

16       tickit_rectset_add()  ensures  that the regions stored by the rectangle
17       set includes the area given by rect. Since the rectangle set  stores  a
18       set  of  non-overlapping  regions, it may have to split the newly-added
19       area into smaller pieces, to ensure the regions do not  overlap.  Since
20       it  merges neigbours where possible it can also result in fewer regions
21       being stored.
22

RETURN VALUE

24       tickit_rectset_add() returns no value.
25

SEE ALSO

27       tickit_rectset_new(3), tickit_rectset(7), tickit_rect(7), tickit(7)
28
29
30
31                                                         TICKIT_RECTSET_ADD(3)
Impressum