Allegro
BITMAP to check if point is inside
x position of point
y position of point
Bitmap clipping
true if inside bitmap, otherwise false
1.10.30
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.
Generated using TypeDoc
Check if inside bitmap