1TICKIT_RECTSET(7)      Miscellaneous Information Manual      TICKIT_RECTSET(7)
2
3
4

NAME

6       TickitRectSet - store a collection of rectangular areas
7

SYNOPSIS

9       #include <tickit.h>
10
11       typedef struct TickitRectSet;
12
13

DESCRIPTION

15       A  TickitRectSet  instance  stores a collection of rectangular areas as
16       non-overlapping regions. Mutation operations allow areas to be added or
17       subtracted. Query operations allow testing for area containment, inter‐
18       section, or iterating the stored regions.
19

FUNCTIONS

21       A new TickitRectSet instance is created using the tickit_rectset_new(3)
22       function, and destroyed using tickit_rectset_destroy(3).
23
24       Rectangular  areas  can  be  added using tickit_rectset_add(3) and sub‐
25       tracted using tickit_rectset_subtract(3). The TickitRectSet can be emp‐
26       tied  of  regions entirely by using tickit_rectset_clear(3). The entire
27       set of regions  can  be  uniformly  moved  using  tickit_rectset_trans‐
28       late(3).
29
30       The  stored regions can be queried by using tickit_rectset_rects(3) and
31       tickit_rectset_get_rects(3). An area can be tested  to  see  if  it  is
32       entirely contained in the set using tickit_rectset_contains(3), or that
33       it intersects at all using tickit_rectset_intersects(3).
34
35
36
37                                                             TICKIT_RECTSET(7)
Impressum