SDL_Rect(3type)

SDL_Rect3type

A rectangle, with the origin at the upper left (using integers).

Usage

#include "SDL3/SDL.h"

typedef struct SDL_Rect { int x, y; int w, h; } SDL_Rect;

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.