comparison docs/html/sdlconvertsurface.html @ 803:355632dca928

Updated SDL HTML documentation
author Sam Lantinga <slouken@libsdl.org>
date Tue, 10 Feb 2004 15:15:40 +0000
parents e5bc29de3f0a
children
comparison
equal deleted inserted replaced
802:3c609d54f100 803:355632dca928
2 ><HEAD 2 ><HEAD
3 ><TITLE 3 ><TITLE
4 >SDL_ConvertSurface</TITLE 4 >SDL_ConvertSurface</TITLE
5 ><META 5 ><META
6 NAME="GENERATOR" 6 NAME="GENERATOR"
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64 7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
8 "><LINK 8 "><LINK
9 REL="HOME" 9 REL="HOME"
10 TITLE="SDL Library Documentation" 10 TITLE="SDL Library Documentation"
11 HREF="index.html"><LINK 11 HREF="index.html"><LINK
12 REL="UP" 12 REL="UP"
26 VLINK="#551a8b" 26 VLINK="#551a8b"
27 ALINK="#ff0000" 27 ALINK="#ff0000"
28 ><DIV 28 ><DIV
29 CLASS="NAVHEADER" 29 CLASS="NAVHEADER"
30 ><TABLE 30 ><TABLE
31 SUMMARY="Header navigation table"
31 WIDTH="100%" 32 WIDTH="100%"
32 BORDER="0" 33 BORDER="0"
33 CELLPADDING="0" 34 CELLPADDING="0"
34 CELLSPACING="0" 35 CELLSPACING="0"
35 ><TR 36 ><TR
43 WIDTH="10%" 44 WIDTH="10%"
44 ALIGN="left" 45 ALIGN="left"
45 VALIGN="bottom" 46 VALIGN="bottom"
46 ><A 47 ><A
47 HREF="sdlgetcliprect.html" 48 HREF="sdlgetcliprect.html"
49 ACCESSKEY="P"
48 >Prev</A 50 >Prev</A
49 ></TD 51 ></TD
50 ><TD 52 ><TD
51 WIDTH="80%" 53 WIDTH="80%"
52 ALIGN="center" 54 ALIGN="center"
56 WIDTH="10%" 58 WIDTH="10%"
57 ALIGN="right" 59 ALIGN="right"
58 VALIGN="bottom" 60 VALIGN="bottom"
59 ><A 61 ><A
60 HREF="sdlblitsurface.html" 62 HREF="sdlblitsurface.html"
63 ACCESSKEY="N"
61 >Next</A 64 >Next</A
62 ></TD 65 ></TD
63 ></TR 66 ></TR
64 ></TABLE 67 ></TABLE
65 ><HR 68 ><HR
66 ALIGN="LEFT" 69 ALIGN="LEFT"
67 WIDTH="100%"></DIV 70 WIDTH="100%"></DIV
68 ><H1 71 ><H1
69 ><A 72 ><A
70 NAME="SDLCONVERTSURFACE" 73 NAME="SDLCONVERTSURFACE"
71 >SDL_ConvertSurface</A 74 ></A
72 ></H1 75 >SDL_ConvertSurface</H1
73 ><DIV 76 ><DIV
74 CLASS="REFNAMEDIV" 77 CLASS="REFNAMEDIV"
75 ><A 78 ><A
76 NAME="AEN1874" 79 NAME="AEN2258"
77 ></A 80 ></A
78 ><H2 81 ><H2
79 >Name</H2 82 >Name</H2
80 >SDL_ConvertSurface&nbsp;--&nbsp;Converts a surface to the same format as another surface.</DIV 83 >SDL_ConvertSurface&nbsp;--&nbsp;Converts a surface to the same format as another surface.</DIV
81 ><DIV 84 ><DIV
82 CLASS="REFSYNOPSISDIV" 85 CLASS="REFSYNOPSISDIV"
83 ><A 86 ><A
84 NAME="AEN1877" 87 NAME="AEN2261"
85 ></A 88 ></A
86 ><H2 89 ><H2
87 >Synopsis</H2 90 >Synopsis</H2
88 ><DIV 91 ><DIV
89 CLASS="FUNCSYNOPSIS" 92 CLASS="FUNCSYNOPSIS"
90 ><A 93 ><A
91 NAME="AEN1878" 94 NAME="AEN2262"
92 ></A 95 ></A
93 ><P 96 ><P
94 ></P 97 ></P
95 ><PRE 98 ><PRE
96 CLASS="FUNCSYNOPSISINFO" 99 CLASS="FUNCSYNOPSISINFO"
110 ></DIV 113 ></DIV
111 ></DIV 114 ></DIV
112 ><DIV 115 ><DIV
113 CLASS="REFSECT1" 116 CLASS="REFSECT1"
114 ><A 117 ><A
115 NAME="AEN1884" 118 NAME="AEN2268"
116 ></A 119 ></A
117 ><H2 120 ><H2
118 >Description</H2 121 >Description</H2
119 ><P 122 ><P
120 >Creates a new surface of the specified format, and then copies and maps 123 >Creates a new surface of the specified format, and then copies and maps
151 >This function can only be called after SDL_Init.</P 154 >This function can only be called after SDL_Init.</P
152 ></DIV 155 ></DIV
153 ><DIV 156 ><DIV
154 CLASS="REFSECT1" 157 CLASS="REFSECT1"
155 ><A 158 ><A
156 NAME="AEN1896" 159 NAME="AEN2280"
157 ></A 160 ></A
158 ><H2 161 ><H2
159 >Return Value</H2 162 >Return Value</H2
160 ><P 163 ><P
161 >Returns either a pointer to the new surface, or 164 >Returns either a pointer to the new surface, or
165 > on error.</P 168 > on error.</P
166 ></DIV 169 ></DIV
167 ><DIV 170 ><DIV
168 CLASS="REFSECT1" 171 CLASS="REFSECT1"
169 ><A 172 ><A
170 NAME="AEN1900" 173 NAME="AEN2284"
171 ></A 174 ></A
172 ><H2 175 ><H2
173 >See Also</H2 176 >See Also</H2
174 ><P 177 ><P
175 ><A 178 ><A
204 ><DIV 207 ><DIV
205 CLASS="NAVFOOTER" 208 CLASS="NAVFOOTER"
206 ><HR 209 ><HR
207 ALIGN="LEFT" 210 ALIGN="LEFT"
208 WIDTH="100%"><TABLE 211 WIDTH="100%"><TABLE
212 SUMMARY="Footer navigation table"
209 WIDTH="100%" 213 WIDTH="100%"
210 BORDER="0" 214 BORDER="0"
211 CELLPADDING="0" 215 CELLPADDING="0"
212 CELLSPACING="0" 216 CELLSPACING="0"
213 ><TR 217 ><TR
215 WIDTH="33%" 219 WIDTH="33%"
216 ALIGN="left" 220 ALIGN="left"
217 VALIGN="top" 221 VALIGN="top"
218 ><A 222 ><A
219 HREF="sdlgetcliprect.html" 223 HREF="sdlgetcliprect.html"
224 ACCESSKEY="P"
220 >Prev</A 225 >Prev</A
221 ></TD 226 ></TD
222 ><TD 227 ><TD
223 WIDTH="34%" 228 WIDTH="34%"
224 ALIGN="center" 229 ALIGN="center"
225 VALIGN="top" 230 VALIGN="top"
226 ><A 231 ><A
227 HREF="index.html" 232 HREF="index.html"
233 ACCESSKEY="H"
228 >Home</A 234 >Home</A
229 ></TD 235 ></TD
230 ><TD 236 ><TD
231 WIDTH="33%" 237 WIDTH="33%"
232 ALIGN="right" 238 ALIGN="right"
233 VALIGN="top" 239 VALIGN="top"
234 ><A 240 ><A
235 HREF="sdlblitsurface.html" 241 HREF="sdlblitsurface.html"
242 ACCESSKEY="N"
236 >Next</A 243 >Next</A
237 ></TD 244 ></TD
238 ></TR 245 ></TR
239 ><TR 246 ><TR
240 ><TD 247 ><TD
246 WIDTH="34%" 253 WIDTH="34%"
247 ALIGN="center" 254 ALIGN="center"
248 VALIGN="top" 255 VALIGN="top"
249 ><A 256 ><A
250 HREF="video.html" 257 HREF="video.html"
258 ACCESSKEY="U"
251 >Up</A 259 >Up</A
252 ></TD 260 ></TD
253 ><TD 261 ><TD
254 WIDTH="33%" 262 WIDTH="33%"
255 ALIGN="right" 263 ALIGN="right"