comparison docs/html/sdldisplayformatalpha.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_DisplayFormatAlpha</TITLE 4 >SDL_DisplayFormatAlpha</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="sdldisplayformat.html" 48 HREF="sdldisplayformat.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="sdlwarpmouse.html" 62 HREF="sdlwarpmouse.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="SDLDISPLAYFORMATALPHA" 73 NAME="SDLDISPLAYFORMATALPHA"
71 >SDL_DisplayFormatAlpha</A 74 ></A
72 ></H1 75 >SDL_DisplayFormatAlpha</H1
73 ><DIV 76 ><DIV
74 CLASS="REFNAMEDIV" 77 CLASS="REFNAMEDIV"
75 ><A 78 ><A
76 NAME="AEN2048" 79 NAME="AEN2432"
77 ></A 80 ></A
78 ><H2 81 ><H2
79 >Name</H2 82 >Name</H2
80 >SDL_DisplayFormatAlpha&nbsp;--&nbsp;Convert a surface to the display format</DIV 83 >SDL_DisplayFormatAlpha&nbsp;--&nbsp;Convert a surface to the display format</DIV
81 ><DIV 84 ><DIV
82 CLASS="REFSYNOPSISDIV" 85 CLASS="REFSYNOPSISDIV"
83 ><A 86 ><A
84 NAME="AEN2051" 87 NAME="AEN2435"
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="AEN2052" 94 NAME="AEN2436"
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="AEN2058" 118 NAME="AEN2442"
116 ></A 119 ></A
117 ><H2 120 ><H2
118 >Description</H2 121 >Description</H2
119 ><P 122 ><P
120 >This function takes a surface and copies it to a new surface of the 123 >This function takes a surface and copies it to a new surface of the
138 pixels match the colourkey, and opaque (alpha=255) elsewhere.</P 141 pixels match the colourkey, and opaque (alpha=255) elsewhere.</P
139 ></DIV 142 ></DIV
140 ><DIV 143 ><DIV
141 CLASS="REFSECT1" 144 CLASS="REFSECT1"
142 ><A 145 ><A
143 NAME="AEN2065" 146 NAME="AEN2449"
144 ></A 147 ></A
145 ><H2 148 ><H2
146 >Return Value</H2 149 >Return Value</H2
147 ><P 150 ><P
148 >If the conversion fails or runs out of memory, it returns 151 >If the conversion fails or runs out of memory, it returns
152 ></P 155 ></P
153 ></DIV 156 ></DIV
154 ><DIV 157 ><DIV
155 CLASS="REFSECT1" 158 CLASS="REFSECT1"
156 ><A 159 ><A
157 NAME="AEN2069" 160 NAME="AEN2453"
158 ></A 161 ></A
159 ><H2 162 ><H2
160 >See Also</H2 163 >See Also</H2
161 ><P 164 ><P
162 ><A 165 ><A
183 ><DIV 186 ><DIV
184 CLASS="NAVFOOTER" 187 CLASS="NAVFOOTER"
185 ><HR 188 ><HR
186 ALIGN="LEFT" 189 ALIGN="LEFT"
187 WIDTH="100%"><TABLE 190 WIDTH="100%"><TABLE
191 SUMMARY="Footer navigation table"
188 WIDTH="100%" 192 WIDTH="100%"
189 BORDER="0" 193 BORDER="0"
190 CELLPADDING="0" 194 CELLPADDING="0"
191 CELLSPACING="0" 195 CELLSPACING="0"
192 ><TR 196 ><TR
194 WIDTH="33%" 198 WIDTH="33%"
195 ALIGN="left" 199 ALIGN="left"
196 VALIGN="top" 200 VALIGN="top"
197 ><A 201 ><A
198 HREF="sdldisplayformat.html" 202 HREF="sdldisplayformat.html"
203 ACCESSKEY="P"
199 >Prev</A 204 >Prev</A
200 ></TD 205 ></TD
201 ><TD 206 ><TD
202 WIDTH="34%" 207 WIDTH="34%"
203 ALIGN="center" 208 ALIGN="center"
204 VALIGN="top" 209 VALIGN="top"
205 ><A 210 ><A
206 HREF="index.html" 211 HREF="index.html"
212 ACCESSKEY="H"
207 >Home</A 213 >Home</A
208 ></TD 214 ></TD
209 ><TD 215 ><TD
210 WIDTH="33%" 216 WIDTH="33%"
211 ALIGN="right" 217 ALIGN="right"
212 VALIGN="top" 218 VALIGN="top"
213 ><A 219 ><A
214 HREF="sdlwarpmouse.html" 220 HREF="sdlwarpmouse.html"
221 ACCESSKEY="N"
215 >Next</A 222 >Next</A
216 ></TD 223 ></TD
217 ></TR 224 ></TR
218 ><TR 225 ><TR
219 ><TD 226 ><TD
225 WIDTH="34%" 232 WIDTH="34%"
226 ALIGN="center" 233 ALIGN="center"
227 VALIGN="top" 234 VALIGN="top"
228 ><A 235 ><A
229 HREF="video.html" 236 HREF="video.html"
237 ACCESSKEY="U"
230 >Up</A 238 >Up</A
231 ></TD 239 ></TD
232 ><TD 240 ><TD
233 WIDTH="33%" 241 WIDTH="33%"
234 ALIGN="right" 242 ALIGN="right"