You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.TH "SDL_Rect" "3" "Mon 12 Mar 2001, 01:04" "SDL" "SDL API Reference"
.SH "NAME"
SDL_Rect\- Defines a rectangular area
.SH "STRUCTURE DEFINITION"
.PP
.nf
\f(CWtypedef struct{
Sint16 x, y;
Uint16 w, h;
} SDL_Rect;\fR
.fi
.PP
.SH "STRUCTURE DATA"
.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
.SH "DESCRIPTION"
.PP
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\&.