Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
TICKIT_REN...UFFER_CLIP(3) Library Functions Manual TICKIT_REN...UFFER_CLIP(3)

NAME
       tickit_renderbuffer_clip, tickit_renderbuffer_mask - restrict the draw-
       ing area	of output functions

SYNOPSIS
       #include	<tickit.h>

       void tickit_renderbuffer_clip(TickitRenderBuffer	*rb, TickitRect	*rect);
       void tickit_renderbuffer_mask(TickitRenderBuffer	*rb, TickitRect	*mask);

       Link with -ltickit.

DESCRIPTION
       tickit_renderbuffer_clip() restricts the	clipping rectangle to the lim-
       its given, within the existing limits already set. This function	cannot
       make the	clipping region	larger than it already was.

       tickit_renderbuffer_mask()  applies a rectangular mask within the clip-
       ping region, masking off	extra cells that can no	longer be modified  by
       the  output  functions. Unlike tickit_renderbuffer_clip() these regions
       can be arbitrarily positioned and discontinuous;	each new call adds an-
       other masking region, rather than affecting the existing	ones.

       To undo the effects of any of these  functions,	they  should  be  used
       within	nested	pairs  of  calls  to  tickit_renderbuffer_save(3)  and
       tickit_renderbuffer_restore(3). Both functions only affect  the	subse-
       quent  drawing  operations; they	do not affect existing stored content,
       nor the behaviour of tickit_renderbuffer_flush_to_term(3).

RETURN VALUE
       These functions return no value.

SEE ALSO
       tickit_renderbuffer_new(3),	     tickit_renderbuffer_translate(3),
       tickit_renderbuffer(7), tickit(7)

						    TICKIT_REN...UFFER_CLIP(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=tickit_renderbuffer_clip&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help