tickit_rectset_new, tickit_rectset_destroy - create or destroy a rectangle set
Contents
Description
tickit_rectset_new() creates a new TickitRectSet instance. It will be initially empty, containing no
regions.
tickit_rectset_destroy() destroys the given instances and releases any resources controlled by it.
Name
tickit_rectset_new, tickit_rectset_destroy - create or destroy a rectangle set
Return Value
If successful, tickit_rectset_new() returns a pointer to the new instance. On failure, NULL is returned
with errno set to indicate the failure. tickit_rectset_destroy() returns no value.
See Also
tickit_rectset_add(3), tickit_rectset_subtract(3), tickit_rectset_rects(3), tickit_rectset_get_rects(3), tickit_rectset(7), tickit(7) TICKIT_RECTSET_NEW(3)
Synopsis
#include<tickit.h>TickitRectSet*tickit_rectset_new(void);voidtickit_rectset_destroy(TickitRectSet*trs);
Link with -ltickit.
