SDL_FRect(3type)

SDL_FRect3type

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

Usage

#include "SDL3/SDL.h"

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

Header file

Defined in SDL3/SDL_rect.h

Availability

This struct is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.