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_rect_init_sized, tickit_rect_init_bounded - initialise a rectangle struct

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.

Name

       tickit_rect_init_sized, tickit_rect_init_bounded - initialise a rectangle struct

Return Value

       Neither function returns a value.

See Also

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

                                                                                       TICKIT_RECT_INIT_SIZED(3)

Synopsis

#include<tickit.h>voidtickit_rect_init_sized(TickitRect*rect,inttop,intleft,intlines,intcols);voidtickit_rect_init_bounded(TickitRect*rect,inttop,intleft,intbottom,intright);

       Link with -ltickit.

See Also