tickit_rect_init_sized - Man Page

initialise a rectangle struct

Synopsis

#include <tickit.h>

void tickit_rect_init_sized(TickitRect *rect, int top, int left,
    int lines, int cols);
void tickit_rect_init_bounded(TickitRect *rect, int top, int left,
    int bottom, int right);

Link with -ltickit.

Description

tickit_rect_init_sized() initialises a TickitRect structure to contain the given top left corner and size. It is equivalent to just initialising the four fields individually, but is included in the API for completeness.

tickit_rect_init_bounded() initialises a TickitRect structure to contain the given top left and bottom right bounds.

Return Value

Neither function returns a value.

See Also

tickit_rect_bottom(3), tickit_rect_right(3), tickit_rect(7), tickit(7)

Referenced By

tickit_rect(7), tickit_rect_add(3), tickit_rect_bottom(3), tickit_rect_contains(3), tickit_rect_intersect(3), tickit_rect_intersects(3), tickit_rect_subtract(3), tickit_rect_translate(3).

The man page tickit_rect_init_bounded(3) is an alias of tickit_rect_init_sized(3).