table of contents
- trixie 3.2.10+ds-1
 - testing 3.2.26+ds-1
 - unstable 3.2.26+ds-2
 - experimental 3.3.2+git20251103~dc5b136+ds-1
 
| SDL_FRect(3type) | SDL3 DATATYPES | SDL_FRect(3type) | 
NAME¶
SDL_FRect - A rectangle stored using floating point values.
SYNOPSIS¶
#include <SDL3/SDL_rect.h>
typedef struct SDL_FRect
{
    float x;
    float y;
    float w;
    float h;
} SDL_FRect;
DESCRIPTION¶
The origin of the coordinate space is in the top-left, with increasing values moving down and right. The properties x and y represent the coordinates of the top-left corner of the rectangle.
AVAILABILITY¶
This struct is available since SDL 3.2.0.
SEE ALSO¶
SDL_RectEmptyFloat(3), SDL_RectsEqualFloat(3), SDL_RectsEqualEpsilon(3), SDL_HasRectIntersectionFloat(3), SDL_GetRectIntersectionFloat(3), SDL_GetRectAndLineIntersectionFloat(3), SDL_GetRectUnionFloat(3), SDL_GetRectEnclosingPointsFloat(3), SDL_PointInRectFloat(3)
| SDL 3.3.3 | Simple Directmedia Layer |