Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5131 clevermous 1
2
>
3
>
4
>SDL_UpdateRects
5
>
6
NAME="GENERATOR"
7
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
8
">
9
REL="HOME"
10
TITLE="SDL Library Documentation"
11
HREF="index.html">
12
REL="UP"
13
TITLE="Video"
14
HREF="video.html">
15
REL="PREVIOUS"
16
TITLE="SDL_UpdateRect"
17
HREF="sdlupdaterect.html">
18
REL="NEXT"
19
TITLE="SDL_Flip"
20
HREF="sdlflip.html">
21
>
22
CLASS="REFENTRY"
23
BGCOLOR="#FFF8DC"
24
TEXT="#000000"
25
LINK="#0000ee"
26
VLINK="#551a8b"
27
ALINK="#ff0000"
28
>
29
CLASS="NAVHEADER"
30
>
31
WIDTH="100%"
32
BORDER="0"
33
CELLPADDING="0"
34
CELLSPACING="0"
35
>
36
>
37
COLSPAN="3"
38
ALIGN="center"
39
>SDL Library Documentation
40
>
41
>
42
>
43
WIDTH="10%"
44
ALIGN="left"
45
VALIGN="bottom"
46
>
47
HREF="sdlupdaterect.html"
48
>Prev
49
>
50
>
51
WIDTH="80%"
52
ALIGN="center"
53
VALIGN="bottom"
54
>
55
>
56
WIDTH="10%"
57
ALIGN="right"
58
VALIGN="bottom"
59
>
60
HREF="sdlflip.html"
61
>Next
62
>
63
>
64
>
65
>
66
ALIGN="LEFT"
67
WIDTH="100%">
68
>
69
>
70
NAME="SDLUPDATERECTS"
71
>SDL_UpdateRects
72
>
73
>
74
CLASS="REFNAMEDIV"
75
>
76
NAME="AEN977"
77
>
78
>
79
>Name
80
>SDL_UpdateRects -- Makes sure the given list of rectangles is updated on the given screen.
81
>
82
CLASS="REFSYNOPSISDIV"
83
>
84
NAME="AEN980"
85
>
86
>
87
>Synopsis
88
>
89
CLASS="FUNCSYNOPSIS"
90
>
91
NAME="AEN981"
92
>
93
>
94
>
95
>
96
CLASS="FUNCSYNOPSISINFO"
97
>#include "SDL.h"
98
>
99
>
100
>
101
CLASS="FUNCDEF"
102
>void 
103
CLASS="FSFUNC"
104
>SDL_UpdateRects
105
>
106
>(SDL_Surface *screen, int numrects, SDL_Rect *rects);
107
>
108
>
109
>
110
>
111
>
112
>
113
CLASS="REFSECT1"
114
>
115
NAME="AEN987"
116
>
117
>
118
>Description
119
>
120
>Makes sure the given list of rectangles is updated on the given screen.
121
The rectangles must all be confined within the screen boundaries (no
122
clipping is done).
123
>
124
>This function should not be called while 
125
CLASS="PARAMETER"
126
>
127
>screen
128
>
129
> is
130
131
HREF="sdllocksurface.html"
132
>locked
133
>.
134
>
135
CLASS="NOTE"
136
>
137
CLASS="NOTE"
138
>
139
>
140
>Note: 
141
>It is adviced to call this function only once per frame, since each
142
call has some processing overhead. This is no restriction since you
143
can pass any number of rectangles each time.
144
>
145
>The rectangles are not automatically merged or checked for overlap. In
146
general, the programmer can use his knowledge about his particular
147
rectangles to merge them in an efficient way, to avoid overdraw.
148
>
149
>
150
>
151
>
152
CLASS="REFSECT1"
153
>
154
NAME="AEN996"
155
>
156
>
157
>See Also
158
>
159
>
160
HREF="sdlupdaterect.html"
161
>
162
CLASS="FUNCTION"
163
>SDL_UpdateRect
164
>
165
>,
166
167
HREF="sdlrect.html"
168
>
169
CLASS="STRUCTNAME"
170
>SDL_Rect
171
>
172
>,
173
174
HREF="sdlsurface.html"
175
>
176
CLASS="STRUCTNAME"
177
>SDL_Surface
178
>
179
>,
180
181
HREF="sdllocksurface.html"
182
>
183
CLASS="FUNCTION"
184
>SDL_LockSurface
185
>
186
>
187
>
188
>
189
CLASS="NAVFOOTER"
190
>
191
ALIGN="LEFT"
192
WIDTH="100%">
193
WIDTH="100%"
194
BORDER="0"
195
CELLPADDING="0"
196
CELLSPACING="0"
197
>
198
>
199
WIDTH="33%"
200
ALIGN="left"
201
VALIGN="top"
202
>
203
HREF="sdlupdaterect.html"
204
>Prev
205
>
206
>
207
WIDTH="34%"
208
ALIGN="center"
209
VALIGN="top"
210
>
211
HREF="index.html"
212
>Home
213
>
214
>
215
WIDTH="33%"
216
ALIGN="right"
217
VALIGN="top"
218
>
219
HREF="sdlflip.html"
220
>Next
221
>
222
>
223
>
224
>
225
WIDTH="33%"
226
ALIGN="left"
227
VALIGN="top"
228
>SDL_UpdateRect
229
>
230
WIDTH="34%"
231
ALIGN="center"
232
VALIGN="top"
233
>
234
HREF="video.html"
235
>Up
236
>
237
>
238
WIDTH="33%"
239
ALIGN="right"
240
VALIGN="top"
241
>SDL_Flip
242
>
243
>
244
>
245
>
246
>
247
>