Man page - sdl_getrectenclosingpointsfloat(3)
Packages contas this manual
Manual
| SDL_GetRectEnclosingPointsFloat(3) | SDL3 FUNCTIONS | SDL_GetRectEnclosingPointsFloat(3) |
NAME
SDL_GetRectEnclosingPointsFloat - Calculate a minimal rectangle enclosing a set of points with float precision.
HEADER FILE
Defined in SDL3/SDL_rect.h
SYNOPSIS
#include "SDL3/SDL.h"
bool SDL_GetRectEnclosingPointsFloat(const SDL_FPoint *points, int count, const SDL_FRect *clip, SDL_FRect *result);
DESCRIPTION
If clip is not NULL then only points inside of the clipping rectangle are considered.
FUNCTION PARAMETERS
RETURN VALUE
Returns true if any points were enclosed or false if all the points were outside of the clipping rectangle.
AVAILABILITY
This function is available since SDL 3.2.0.
| SDL 3.2.10 | Simple Directmedia Layer |