SDL_Rect(3)

SDL_Rect3

Defines a rectangular area

Structure definition

typedef struct{
  Sint16 x, y;
  Uint16 w, h;
} SDL_Rect;

Structure data

x, y

Position of the upper-left corner of the rectangle

w, h

The width and height of the rectangle

Overview

A SDL_Rect defines a rectangular area of pixels. It is used by SDL_BlitSurface to define blitting regions and by several other video functions.

Releases

11 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0–5.0
  2. 6.0–12

From libsdl1.2-dev 1.2.15+dfsg2-8 in Debian 12 (Bookworm). Parsed by carta from the page's man source.