blob: 8db224de65c49815f000574c2d1f38c4f9b736db [file] [log] [blame]
.TH "SDL_Rect" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference"
SDL_Rect \- Defines a rectangular area
\f(CWtypedef struct{
Sint16 x, y;
Uint16 w, h;
} SDL_Rect;\fR
.TP 20
\fBx, y\fR
Position of the upper-left corner of the rectangle
.TP 20
\fBw, h\fR
The width and height of the rectangle
A \fBSDL_Rect\fR defines a rectangular area of pixels\&. It is used by \fI\fBSDL_BlitSurface\fP\fR to define blitting regions and by several other video functions\&.
\fI\fBSDL_BlitSurface\fP\fR, \fI\fBSDL_UpdateRect\fP\fR
.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01