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

FreeBSD Manual Pages

  
 
  

home | help
is_inside_bitmap(3)		Allegro	manual		   is_inside_bitmap(3)

NAME
       is_inside_bitmap	 -  Tells  if a	point is inside	a bitmap. Allegro game
       programming library.

SYNOPSIS
       #include	<allegro.h>

       int is_inside_bitmap(BITMAP *bmp, int x,	int y, int clip);

DESCRIPTION
       Returns non-zero	if point (x, y)	lies inside the	bitmap.	If  `clip'  is
       non-zero,  the function compares	the coordinates	with the clipping rec-
       tangle, that is it returns non-zero if the point	lies inside the	 clip-
       ping  rectangle or if clipping is disabled for the bitmap. If `clip' is
       zero, the function compares the coordinates with	the actual  dimensions
       of the bitmap.

SEE ALSO
       set_clip_rect(3), set_clip_state(3), getpixel(3)

Allegro				 version 4.4.2		   is_inside_bitmap(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=is_inside_bitmap&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help