chickadee » sdl2 » point-in-rect?

point-in-rect? point rectprocedure

Returns #t if the sdl2:point is inside the sdl2:rect, or #f if it is not. See SDL_PointInRect.

This procedure is available in sdl2 egg version 0.2.0 and higher. It requires SDL 2.0.4 or higher. It signals an error if the compiled version of SDL is not high enough. Use the libSDL-2.0.4+ feature identifier to check before calling this procedure.