Annotated edit history of
SDL_SetClipRect(3) version 2, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
2 |
perry |
1 |
SDL_!SetClipRect |
|
|
2 |
!!!SDL_!SetClipRect |
1 |
perry |
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
SEE ALSO |
|
|
7 |
---- |
|
|
8 |
!!NAME |
|
|
9 |
|
|
|
10 |
|
2 |
perry |
11 |
SDL_!SetClipRect- Sets the clipping rectangle for a surface. |
1 |
perry |
12 |
!!SYNOPSIS |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
__#include __ |
|
|
16 |
|
|
|
17 |
|
2 |
perry |
18 |
__void SDL_!SetClipRect__(__SDL_Surface *surface, |
1 |
perry |
19 |
SDL_Rect *rect__); |
|
|
20 |
!!DESCRIPTION |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
Sets the clipping rectangle for a surface. When this surface |
|
|
24 |
is the destination of a blit, only the area within the clip |
|
|
25 |
rectangle will be drawn into. |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
The rectangle pointed to by __rect__ will be clipped to |
|
|
29 |
the edges of the surface so that the clip rectangle for a |
|
|
30 |
surface can never fall outside the edges of the |
|
|
31 |
surface. |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
If __rect__ is __NULL__ the clipping rectangle will be |
|
|
35 |
set to the full size of the surface. |
|
|
36 |
!!SEE ALSO |
|
|
37 |
|
|
|
38 |
|
2 |
perry |
39 |
__SDL_!GetClipRect__, __SDL_!BlitSurface__, |
1 |
perry |
40 |
__SDL_Surface__ |
|
|
41 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.