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

NAME

6       tickit_rect_init_sized, tickit_rect_init_bounded - initialise a rectan‐
7       gle struct
8

SYNOPSIS

10       #include <tickit.h>
11
12       void tickit_rect_init_sized(TickitRect *rect, int top, int left,
13           int lines, int cols);
14       void tickit_rect_init_bounded(TickitRect *rect, int top, int left,
15           int bottom, int right);
16
17       Link with -ltickit.
18

DESCRIPTION

20       tickit_rect_init_sized() initialises a TickitRect structure to  contain
21       the given top left corner and size. It is equivalent to just initialis‐
22       ing the four fields individually, but is included in the API  for  com‐
23       pleteness.
24
25       tickit_rect_init_bounded()  initialises  a TickitRect structure to con‐
26       tain the given top left and bottom right bounds.
27

RETURN VALUE

29       Neither function returns a value.
30

SEE ALSO

32       tickit_rect_bottom(3), tickit_rect_right(3), tickit_rect(7), tickit(7)
33
34
35
36                                                     TICKIT_RECT_INIT_SIZED(3)
Impressum