comparison docs/html/sdlcreatergbsurface.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_CreateRGBSurface</TITLE 4 >SDL_CreateRGBSurface</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="sdlgetrgba.html" 48 HREF="sdlgetrgba.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="sdlcreatergbsurfacefrom.html" 62 HREF="sdlcreatergbsurfacefrom.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="SDLCREATERGBSURFACE" 73 NAME="SDLCREATERGBSURFACE"
71 >SDL_CreateRGBSurface</A 74 ></A
72 ></H1 75 >SDL_CreateRGBSurface</H1
73 ><DIV 76 ><DIV
74 CLASS="REFNAMEDIV" 77 CLASS="REFNAMEDIV"
75 ><A 78 ><A
76 NAME="AEN1389" 79 NAME="AEN1773"
77 ></A 80 ></A
78 ><H2 81 ><H2
79 >Name</H2 82 >Name</H2
80 >SDL_CreateRGBSurface&nbsp;--&nbsp;Create an empty SDL_Surface</DIV 83 >SDL_CreateRGBSurface&nbsp;--&nbsp;Create an empty SDL_Surface</DIV
81 ><DIV 84 ><DIV
82 CLASS="REFSYNOPSISDIV" 85 CLASS="REFSYNOPSISDIV"
83 ><A 86 ><A
84 NAME="AEN1392" 87 NAME="AEN1776"
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="AEN1393" 94 NAME="AEN1777"
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="AEN1399" 118 NAME="AEN1783"
116 ></A 119 ></A
117 ><H2 120 ><H2
118 >Description</H2 121 >Description</H2
119 ><P 122 ><P
120 >Allocate an empty surface (must be called after <A 123 >Allocate an empty surface (must be called after <A
151 ></TT 154 ></TT
152 > specifies the type of surface that should be created, it is an OR'd combination of the following possible values.</P 155 > specifies the type of surface that should be created, it is an OR'd combination of the following possible values.</P
153 ><DIV 156 ><DIV
154 CLASS="INFORMALTABLE" 157 CLASS="INFORMALTABLE"
155 ><A 158 ><A
156 NAME="AEN1411" 159 NAME="AEN1795"
157 ></A 160 ></A
158 ><P 161 ><P
159 ></P 162 ></P
160 ><TABLE 163 ><TABLE
161 BORDER="1" 164 BORDER="1"
276 ></DIV 279 ></DIV
277 ></DIV 280 ></DIV
278 ><DIV 281 ><DIV
279 CLASS="REFSECT1" 282 CLASS="REFSECT1"
280 ><A 283 ><A
281 NAME="AEN1442" 284 NAME="AEN1826"
282 ></A 285 ></A
283 ><H2 286 ><H2
284 >Return Value</H2 287 >Return Value</H2
285 ><P 288 ><P
286 >Returns the created surface, or <SPAN 289 >Returns the created surface, or <SPAN
289 > upon error.</P 292 > upon error.</P
290 ></DIV 293 ></DIV
291 ><DIV 294 ><DIV
292 CLASS="REFSECT1" 295 CLASS="REFSECT1"
293 ><A 296 ><A
294 NAME="AEN1446" 297 NAME="AEN1830"
295 ></A 298 ></A
296 ><H2 299 ><H2
297 >Example</H2 300 >Example</H2
298 ><PRE 301 ><PRE
299 CLASS="PROGRAMLISTING" 302 CLASS="PROGRAMLISTING"
324 }</PRE 327 }</PRE
325 ></DIV 328 ></DIV
326 ><DIV 329 ><DIV
327 CLASS="REFSECT1" 330 CLASS="REFSECT1"
328 ><A 331 ><A
329 NAME="AEN1449" 332 NAME="AEN1833"
330 ></A 333 ></A
331 ><H2 334 ><H2
332 >See Also</H2 335 >See Also</H2
333 ><P 336 ><P
334 ><A 337 ><A
391 ><DIV 394 ><DIV
392 CLASS="NAVFOOTER" 395 CLASS="NAVFOOTER"
393 ><HR 396 ><HR
394 ALIGN="LEFT" 397 ALIGN="LEFT"
395 WIDTH="100%"><TABLE 398 WIDTH="100%"><TABLE
399 SUMMARY="Footer navigation table"
396 WIDTH="100%" 400 WIDTH="100%"
397 BORDER="0" 401 BORDER="0"
398 CELLPADDING="0" 402 CELLPADDING="0"
399 CELLSPACING="0" 403 CELLSPACING="0"
400 ><TR 404 ><TR
402 WIDTH="33%" 406 WIDTH="33%"
403 ALIGN="left" 407 ALIGN="left"
404 VALIGN="top" 408 VALIGN="top"
405 ><A 409 ><A
406 HREF="sdlgetrgba.html" 410 HREF="sdlgetrgba.html"
411 ACCESSKEY="P"
407 >Prev</A 412 >Prev</A
408 ></TD 413 ></TD
409 ><TD 414 ><TD
410 WIDTH="34%" 415 WIDTH="34%"
411 ALIGN="center" 416 ALIGN="center"
412 VALIGN="top" 417 VALIGN="top"
413 ><A 418 ><A
414 HREF="index.html" 419 HREF="index.html"
420 ACCESSKEY="H"
415 >Home</A 421 >Home</A
416 ></TD 422 ></TD
417 ><TD 423 ><TD
418 WIDTH="33%" 424 WIDTH="33%"
419 ALIGN="right" 425 ALIGN="right"
420 VALIGN="top" 426 VALIGN="top"
421 ><A 427 ><A
422 HREF="sdlcreatergbsurfacefrom.html" 428 HREF="sdlcreatergbsurfacefrom.html"
429 ACCESSKEY="N"
423 >Next</A 430 >Next</A
424 ></TD 431 ></TD
425 ></TR 432 ></TR
426 ><TR 433 ><TR
427 ><TD 434 ><TD
433 WIDTH="34%" 440 WIDTH="34%"
434 ALIGN="center" 441 ALIGN="center"
435 VALIGN="top" 442 VALIGN="top"
436 ><A 443 ><A
437 HREF="video.html" 444 HREF="video.html"
445 ACCESSKEY="U"
438 >Up</A 446 >Up</A
439 ></TD 447 ></TD
440 ><TD 448 ><TD
441 WIDTH="33%" 449 WIDTH="33%"
442 ALIGN="right" 450 ALIGN="right"