1SDL_GetClipRect(3)             SDL API Reference            SDL_GetClipRect(3)
2
3
4

NAME

6       SDL_GetClipRect - Gets the clipping rectangle for a surface.
7

SYNOPSIS

9       #include "SDL.h"
10
11       void SDL_GetClipRect(SDL_Surface *surface, SDL_Rect *rect);
12

DESCRIPTION

14       Gets  the  clipping  rectangle  for a surface. When this surface is the
15       destination of a blit, only the area within the clip rectangle is drawn
16       into.
17
18       The  rectangle pointed to by rect will be filled with the clipping rec‐
19       tangle of the surface.
20

SEE ALSO

22       SDL_SetClipRect, SDL_BlitSurface, SDL_Surface
23
24
25
26SDL                         Tue 11 Sep 2001, 23:01          SDL_GetClipRect(3)
Impressum