SDL-1.2.14
[sdl_omap.git] / docs / man3 / SDL_GetClipRect.3
CommitLineData
e14743d1 1.TH "SDL_GetClipRect" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference"
2.SH "NAME"
3SDL_GetClipRect \- Gets the clipping rectangle for a surface\&.
4.SH "SYNOPSIS"
5.PP
6\fB#include "SDL\&.h"
7.sp
8\fBvoid \fBSDL_GetClipRect\fP\fR(\fBSDL_Surface *surface, SDL_Rect *rect\fR);
9.SH "DESCRIPTION"
10.PP
11Gets the clipping rectangle for a surface\&. When this surface is the destination of a blit, only the area within the clip rectangle is drawn into\&.
12.PP
13The rectangle pointed to by \fBrect\fR will be filled with the clipping rectangle of the surface\&.
14.SH "SEE ALSO"
15.PP
16\fI\fBSDL_SetClipRect\fP\fR, \fI\fBSDL_BlitSurface\fP\fR, \fI\fBSDL_Surface\fR\fR
17.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01