0
|
1 <HTML
|
|
2 ><HEAD
|
|
3 ><TITLE
|
|
4 >SDL_UpdateRects</TITLE
|
|
5 ><META
|
|
6 NAME="GENERATOR"
|
|
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.61
|
|
8 "><LINK
|
|
9 REL="HOME"
|
|
10 TITLE="SDL Library Documentation"
|
|
11 HREF="index.html"><LINK
|
|
12 REL="UP"
|
|
13 TITLE="Video"
|
|
14 HREF="video.html"><LINK
|
|
15 REL="PREVIOUS"
|
|
16 TITLE="SDL_UpdateRect"
|
|
17 HREF="sdlupdaterect.html"><LINK
|
|
18 REL="NEXT"
|
|
19 TITLE="SDL_Flip"
|
|
20 HREF="sdlflip.html"></HEAD
|
|
21 ><BODY
|
|
22 CLASS="REFENTRY"
|
|
23 BGCOLOR="#FFF8DC"
|
|
24 TEXT="#000000"
|
|
25 LINK="#0000ee"
|
|
26 VLINK="#551a8b"
|
|
27 ALINK="#ff0000"
|
|
28 ><DIV
|
|
29 CLASS="NAVHEADER"
|
|
30 ><TABLE
|
|
31 WIDTH="100%"
|
|
32 BORDER="0"
|
|
33 CELLPADDING="0"
|
|
34 CELLSPACING="0"
|
|
35 ><TR
|
|
36 ><TH
|
|
37 COLSPAN="3"
|
|
38 ALIGN="center"
|
|
39 >SDL Library Documentation</TH
|
|
40 ></TR
|
|
41 ><TR
|
|
42 ><TD
|
|
43 WIDTH="10%"
|
|
44 ALIGN="left"
|
|
45 VALIGN="bottom"
|
|
46 ><A
|
|
47 HREF="sdlupdaterect.html"
|
|
48 >Prev</A
|
|
49 ></TD
|
|
50 ><TD
|
|
51 WIDTH="80%"
|
|
52 ALIGN="center"
|
|
53 VALIGN="bottom"
|
|
54 ></TD
|
|
55 ><TD
|
|
56 WIDTH="10%"
|
|
57 ALIGN="right"
|
|
58 VALIGN="bottom"
|
|
59 ><A
|
|
60 HREF="sdlflip.html"
|
|
61 >Next</A
|
|
62 ></TD
|
|
63 ></TR
|
|
64 ></TABLE
|
|
65 ><HR
|
|
66 ALIGN="LEFT"
|
|
67 WIDTH="100%"></DIV
|
|
68 ><H1
|
|
69 ><A
|
|
70 NAME="SDLUPDATERECTS"
|
|
71 >SDL_UpdateRects</A
|
|
72 ></H1
|
|
73 ><DIV
|
|
74 CLASS="REFNAMEDIV"
|
|
75 ><A
|
|
76 NAME="AEN938"
|
|
77 ></A
|
|
78 ><H2
|
|
79 >Name</H2
|
|
80 >SDL_UpdateRects -- Makes sure the given list of rectangles is updated on the given screen.</DIV
|
|
81 ><DIV
|
|
82 CLASS="REFSYNOPSISDIV"
|
|
83 ><A
|
|
84 NAME="AEN941"
|
|
85 ></A
|
|
86 ><H2
|
|
87 >Synopsis</H2
|
|
88 ><DIV
|
|
89 CLASS="FUNCSYNOPSIS"
|
|
90 ><A
|
|
91 NAME="AEN942"
|
|
92 ></A
|
|
93 ><P
|
|
94 ></P
|
|
95 ><PRE
|
|
96 CLASS="FUNCSYNOPSISINFO"
|
|
97 >#include "SDL.h"</PRE
|
|
98 ><P
|
|
99 ><CODE
|
|
100 ><CODE
|
|
101 CLASS="FUNCDEF"
|
|
102 >void <B
|
|
103 CLASS="FSFUNC"
|
|
104 >SDL_UpdateRects</B
|
|
105 ></CODE
|
|
106 >(SDL_Surface *screen, int numrects, SDL_Rect *rects);</CODE
|
|
107 ></P
|
|
108 ><P
|
|
109 ></P
|
|
110 ></DIV
|
|
111 ></DIV
|
|
112 ><DIV
|
|
113 CLASS="REFSECT1"
|
|
114 ><A
|
|
115 NAME="AEN948"
|
|
116 ></A
|
|
117 ><H2
|
|
118 >Description</H2
|
|
119 ><P
|
|
120 >Makes sure the given list of rectangles is updated on the given screen.</P
|
|
121 ><P
|
|
122 >This function should not be called while <TT
|
|
123 CLASS="PARAMETER"
|
|
124 ><I
|
|
125 >screen</I
|
|
126 ></TT
|
|
127 > is
|
|
128 <A
|
|
129 HREF="sdllocksurface.html"
|
|
130 >locked</A
|
|
131 >. </P
|
|
132 ></DIV
|
|
133 ><DIV
|
|
134 CLASS="REFSECT1"
|
|
135 ><A
|
|
136 NAME="AEN954"
|
|
137 ></A
|
|
138 ><H2
|
|
139 >See Also</H2
|
|
140 ><P
|
|
141 ><A
|
|
142 HREF="sdlupdaterect.html"
|
|
143 ><TT
|
|
144 CLASS="FUNCTION"
|
|
145 >SDL_UpdateRect</TT
|
|
146 ></A
|
|
147 >,
|
|
148 <A
|
|
149 HREF="sdlrect.html"
|
|
150 ><SPAN
|
|
151 CLASS="STRUCTNAME"
|
|
152 >SDL_Rect</SPAN
|
|
153 ></A
|
|
154 >,
|
|
155 <A
|
|
156 HREF="sdlsurface.html"
|
|
157 ><SPAN
|
|
158 CLASS="STRUCTNAME"
|
|
159 >SDL_Surface</SPAN
|
|
160 ></A
|
|
161 >,
|
|
162 <A
|
|
163 HREF="sdllocksurface.html"
|
|
164 ><TT
|
|
165 CLASS="FUNCTION"
|
|
166 >SDL_LockSurface</TT
|
|
167 ></A
|
|
168 ></P
|
|
169 ></DIV
|
|
170 ><DIV
|
|
171 CLASS="NAVFOOTER"
|
|
172 ><HR
|
|
173 ALIGN="LEFT"
|
|
174 WIDTH="100%"><TABLE
|
|
175 WIDTH="100%"
|
|
176 BORDER="0"
|
|
177 CELLPADDING="0"
|
|
178 CELLSPACING="0"
|
|
179 ><TR
|
|
180 ><TD
|
|
181 WIDTH="33%"
|
|
182 ALIGN="left"
|
|
183 VALIGN="top"
|
|
184 ><A
|
|
185 HREF="sdlupdaterect.html"
|
|
186 >Prev</A
|
|
187 ></TD
|
|
188 ><TD
|
|
189 WIDTH="34%"
|
|
190 ALIGN="center"
|
|
191 VALIGN="top"
|
|
192 ><A
|
|
193 HREF="index.html"
|
|
194 >Home</A
|
|
195 ></TD
|
|
196 ><TD
|
|
197 WIDTH="33%"
|
|
198 ALIGN="right"
|
|
199 VALIGN="top"
|
|
200 ><A
|
|
201 HREF="sdlflip.html"
|
|
202 >Next</A
|
|
203 ></TD
|
|
204 ></TR
|
|
205 ><TR
|
|
206 ><TD
|
|
207 WIDTH="33%"
|
|
208 ALIGN="left"
|
|
209 VALIGN="top"
|
|
210 >SDL_UpdateRect</TD
|
|
211 ><TD
|
|
212 WIDTH="34%"
|
|
213 ALIGN="center"
|
|
214 VALIGN="top"
|
|
215 ><A
|
|
216 HREF="video.html"
|
|
217 >Up</A
|
|
218 ></TD
|
|
219 ><TD
|
|
220 WIDTH="33%"
|
|
221 ALIGN="right"
|
|
222 VALIGN="top"
|
|
223 >SDL_Flip</TD
|
|
224 ></TR
|
|
225 ></TABLE
|
|
226 ></DIV
|
|
227 ></BODY
|
|
228 ></HTML
|
|
229 > |