(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_FRect

A rectangle, with the origin at the upper left (floating point).

Header File

Defined in SDL_rect.h

Syntax

typedef struct SDL_FRect
{
    float x;
    float y;
    float w;
    float h;
} SDL_FRect;

See Also


CategoryAPI, CategoryAPIStruct, CategoryRect