Mercurial > sdl-ios-xcode
comparison docs/html/sdlmaprgba.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_MapRGBA</TITLE | 4 >SDL_MapRGBA</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="sdlmaprgb.html" | 48 HREF="sdlmaprgb.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="sdlgetrgb.html" | 62 HREF="sdlgetrgb.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="SDLMAPRGBA" | 73 NAME="SDLMAPRGBA" |
71 >SDL_MapRGBA</A | 74 ></A |
72 ></H1 | 75 >SDL_MapRGBA</H1 |
73 ><DIV | 76 ><DIV |
74 CLASS="REFNAMEDIV" | 77 CLASS="REFNAMEDIV" |
75 ><A | 78 ><A |
76 NAME="AEN1303" | 79 NAME="AEN1687" |
77 ></A | 80 ></A |
78 ><H2 | 81 ><H2 |
79 >Name</H2 | 82 >Name</H2 |
80 >SDL_MapRGBA -- Map a RGBA color value to a pixel format.</DIV | 83 >SDL_MapRGBA -- Map a RGBA color value to a pixel format.</DIV |
81 ><DIV | 84 ><DIV |
82 CLASS="REFSYNOPSISDIV" | 85 CLASS="REFSYNOPSISDIV" |
83 ><A | 86 ><A |
84 NAME="AEN1306" | 87 NAME="AEN1690" |
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="AEN1307" | 94 NAME="AEN1691" |
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="AEN1313" | 118 NAME="AEN1697" |
116 ></A | 119 ></A |
117 ><H2 | 120 ><H2 |
118 >Description</H2 | 121 >Description</H2 |
119 ><P | 122 ><P |
120 >Maps the RGBA color value to the specified pixel format and returns the | 123 >Maps the RGBA color value to the specified pixel format and returns the |
127 will be ignored (as it will be in formats with a palette).</P | 130 will be ignored (as it will be in formats with a palette).</P |
128 ></DIV | 131 ></DIV |
129 ><DIV | 132 ><DIV |
130 CLASS="REFSECT1" | 133 CLASS="REFSECT1" |
131 ><A | 134 ><A |
132 NAME="AEN1318" | 135 NAME="AEN1702" |
133 ></A | 136 ></A |
134 ><H2 | 137 ><H2 |
135 >Return Value</H2 | 138 >Return Value</H2 |
136 ><P | 139 ><P |
137 >A pixel value best approximating the given RGBA color value for a given | 140 >A pixel value best approximating the given RGBA color value for a given |
148 format).</P | 151 format).</P |
149 ></DIV | 152 ></DIV |
150 ><DIV | 153 ><DIV |
151 CLASS="REFSECT1" | 154 CLASS="REFSECT1" |
152 ><A | 155 ><A |
153 NAME="AEN1323" | 156 NAME="AEN1707" |
154 ></A | 157 ></A |
155 ><H2 | 158 ><H2 |
156 >See Also</H2 | 159 >See Also</H2 |
157 ><P | 160 ><P |
158 ><A | 161 ><A |
175 ><DIV | 178 ><DIV |
176 CLASS="NAVFOOTER" | 179 CLASS="NAVFOOTER" |
177 ><HR | 180 ><HR |
178 ALIGN="LEFT" | 181 ALIGN="LEFT" |
179 WIDTH="100%"><TABLE | 182 WIDTH="100%"><TABLE |
183 SUMMARY="Footer navigation table" | |
180 WIDTH="100%" | 184 WIDTH="100%" |
181 BORDER="0" | 185 BORDER="0" |
182 CELLPADDING="0" | 186 CELLPADDING="0" |
183 CELLSPACING="0" | 187 CELLSPACING="0" |
184 ><TR | 188 ><TR |
186 WIDTH="33%" | 190 WIDTH="33%" |
187 ALIGN="left" | 191 ALIGN="left" |
188 VALIGN="top" | 192 VALIGN="top" |
189 ><A | 193 ><A |
190 HREF="sdlmaprgb.html" | 194 HREF="sdlmaprgb.html" |
195 ACCESSKEY="P" | |
191 >Prev</A | 196 >Prev</A |
192 ></TD | 197 ></TD |
193 ><TD | 198 ><TD |
194 WIDTH="34%" | 199 WIDTH="34%" |
195 ALIGN="center" | 200 ALIGN="center" |
196 VALIGN="top" | 201 VALIGN="top" |
197 ><A | 202 ><A |
198 HREF="index.html" | 203 HREF="index.html" |
204 ACCESSKEY="H" | |
199 >Home</A | 205 >Home</A |
200 ></TD | 206 ></TD |
201 ><TD | 207 ><TD |
202 WIDTH="33%" | 208 WIDTH="33%" |
203 ALIGN="right" | 209 ALIGN="right" |
204 VALIGN="top" | 210 VALIGN="top" |
205 ><A | 211 ><A |
206 HREF="sdlgetrgb.html" | 212 HREF="sdlgetrgb.html" |
213 ACCESSKEY="N" | |
207 >Next</A | 214 >Next</A |
208 ></TD | 215 ></TD |
209 ></TR | 216 ></TR |
210 ><TR | 217 ><TR |
211 ><TD | 218 ><TD |
217 WIDTH="34%" | 224 WIDTH="34%" |
218 ALIGN="center" | 225 ALIGN="center" |
219 VALIGN="top" | 226 VALIGN="top" |
220 ><A | 227 ><A |
221 HREF="video.html" | 228 HREF="video.html" |
229 ACCESSKEY="U" | |
222 >Up</A | 230 >Up</A |
223 ></TD | 231 ></TD |
224 ><TD | 232 ><TD |
225 WIDTH="33%" | 233 WIDTH="33%" |
226 ALIGN="right" | 234 ALIGN="right" |