logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tickit_rectset_add - add an area to a rectangle set

Description

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

Name

       tickit_rectset_add - add an area to a rectangle set

Return Value

tickit_rectset_add() returns no value.

See Also

tickit_rectset_new(3), tickit_rectset(7), tickit_rect(7), tickit(7)

                                                                                           TICKIT_RECTSET_ADD(3)

Synopsis

#include<tickit.h>voidtickit_rectset_add(TickitRectSet*trs,constTickitRect*rect);

       Link with -ltickit.

See Also