Mercurial > sdl-ios-xcode
comparison docs/html/sdlupdaterect.html @ 0:74212992fb08
Initial revision
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Thu, 26 Apr 2001 16:45:43 +0000 |
parents | |
children | 55f1f1b3e27d |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:74212992fb08 |
---|---|
1 <HTML | |
2 ><HEAD | |
3 ><TITLE | |
4 >SDL_UpdateRect</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_SetVideoMode" | |
17 HREF="sdlsetvideomode.html"><LINK | |
18 REL="NEXT" | |
19 TITLE="SDL_UpdateRects" | |
20 HREF="sdlupdaterects.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="sdlsetvideomode.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="sdlupdaterects.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="SDLUPDATERECT" | |
71 >SDL_UpdateRect</A | |
72 ></H1 | |
73 ><DIV | |
74 CLASS="REFNAMEDIV" | |
75 ><A | |
76 NAME="AEN901" | |
77 ></A | |
78 ><H2 | |
79 >Name</H2 | |
80 >SDL_UpdateRect -- Makes sure the given area is updated on the given screen.</DIV | |
81 ><DIV | |
82 CLASS="REFSYNOPSISDIV" | |
83 ><A | |
84 NAME="AEN904" | |
85 ></A | |
86 ><H2 | |
87 >Synopsis</H2 | |
88 ><DIV | |
89 CLASS="FUNCSYNOPSIS" | |
90 ><A | |
91 NAME="AEN905" | |
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_UpdateRect</B | |
105 ></CODE | |
106 >(SDL_Surface *screen, Sint32 x, Sint32 y, Sint32 w, Sint32 h);</CODE | |
107 ></P | |
108 ><P | |
109 ></P | |
110 ></DIV | |
111 ></DIV | |
112 ><DIV | |
113 CLASS="REFSECT1" | |
114 ><A | |
115 NAME="AEN911" | |
116 ></A | |
117 ><H2 | |
118 >Description</H2 | |
119 ><P | |
120 >Makes sure the given area is updated on the given screen.</P | |
121 ><P | |
122 >If '<TT | |
123 CLASS="PARAMETER" | |
124 ><I | |
125 >x</I | |
126 ></TT | |
127 >', '<TT | |
128 CLASS="PARAMETER" | |
129 ><I | |
130 >y</I | |
131 ></TT | |
132 >', '<TT | |
133 CLASS="PARAMETER" | |
134 ><I | |
135 >w</I | |
136 ></TT | |
137 >' | |
138 and '<TT | |
139 CLASS="PARAMETER" | |
140 ><I | |
141 >h</I | |
142 ></TT | |
143 >' are all 0, | |
144 <TT | |
145 CLASS="FUNCTION" | |
146 >SDL_UpdateRect</TT | |
147 > will update the | |
148 entire screen.</P | |
149 ><P | |
150 >This function should not be called while '<TT | |
151 CLASS="PARAMETER" | |
152 ><I | |
153 >screen</I | |
154 ></TT | |
155 >' is | |
156 <A | |
157 HREF="sdllocksurface.html" | |
158 >locked</A | |
159 >.</P | |
160 ></DIV | |
161 ><DIV | |
162 CLASS="REFSECT1" | |
163 ><A | |
164 NAME="AEN923" | |
165 ></A | |
166 ><H2 | |
167 >See Also</H2 | |
168 ><P | |
169 ><A | |
170 HREF="sdlupdaterects.html" | |
171 ><TT | |
172 CLASS="FUNCTION" | |
173 >SDL_UpdateRects</TT | |
174 ></A | |
175 >, | |
176 <A | |
177 HREF="sdlrect.html" | |
178 ><SPAN | |
179 CLASS="STRUCTNAME" | |
180 >SDL_Rect</SPAN | |
181 ></A | |
182 >, | |
183 <A | |
184 HREF="sdlsurface.html" | |
185 ><SPAN | |
186 CLASS="STRUCTNAME" | |
187 >SDL_Surface</SPAN | |
188 ></A | |
189 >, | |
190 <A | |
191 HREF="sdllocksurface.html" | |
192 ><TT | |
193 CLASS="FUNCTION" | |
194 >SDL_LockSurface</TT | |
195 ></A | |
196 ></P | |
197 ></DIV | |
198 ><DIV | |
199 CLASS="NAVFOOTER" | |
200 ><HR | |
201 ALIGN="LEFT" | |
202 WIDTH="100%"><TABLE | |
203 WIDTH="100%" | |
204 BORDER="0" | |
205 CELLPADDING="0" | |
206 CELLSPACING="0" | |
207 ><TR | |
208 ><TD | |
209 WIDTH="33%" | |
210 ALIGN="left" | |
211 VALIGN="top" | |
212 ><A | |
213 HREF="sdlsetvideomode.html" | |
214 >Prev</A | |
215 ></TD | |
216 ><TD | |
217 WIDTH="34%" | |
218 ALIGN="center" | |
219 VALIGN="top" | |
220 ><A | |
221 HREF="index.html" | |
222 >Home</A | |
223 ></TD | |
224 ><TD | |
225 WIDTH="33%" | |
226 ALIGN="right" | |
227 VALIGN="top" | |
228 ><A | |
229 HREF="sdlupdaterects.html" | |
230 >Next</A | |
231 ></TD | |
232 ></TR | |
233 ><TR | |
234 ><TD | |
235 WIDTH="33%" | |
236 ALIGN="left" | |
237 VALIGN="top" | |
238 >SDL_SetVideoMode</TD | |
239 ><TD | |
240 WIDTH="34%" | |
241 ALIGN="center" | |
242 VALIGN="top" | |
243 ><A | |
244 HREF="video.html" | |
245 >Up</A | |
246 ></TD | |
247 ><TD | |
248 WIDTH="33%" | |
249 ALIGN="right" | |
250 VALIGN="top" | |
251 >SDL_UpdateRects</TD | |
252 ></TR | |
253 ></TABLE | |
254 ></DIV | |
255 ></BODY | |
256 ></HTML | |
257 > |