Rechercher une page de manuel
is_inside_bitmap
Langue: en
Version: version 4.2.2 (fedora - 04/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
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 rectangle, that is it returns non-zero if the point lies inside the clipping 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)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre