comparison docs/html/sdlmaprgb.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_MapRGB</TITLE 4 >SDL_MapRGB</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="sdlsetgammaramp.html" 48 HREF="sdlsetgammaramp.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="sdlmaprgba.html" 62 HREF="sdlmaprgba.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="SDLMAPRGB" 73 NAME="SDLMAPRGB"
71 >SDL_MapRGB</A 74 ></A
72 ></H1 75 >SDL_MapRGB</H1
73 ><DIV 76 ><DIV
74 CLASS="REFNAMEDIV" 77 CLASS="REFNAMEDIV"
75 ><A 78 ><A
76 NAME="AEN1268" 79 NAME="AEN1652"
77 ></A 80 ></A
78 ><H2 81 ><H2
79 >Name</H2 82 >Name</H2
80 >SDL_MapRGB&nbsp;--&nbsp;Map a RGB color value to a pixel format.</DIV 83 >SDL_MapRGB&nbsp;--&nbsp;Map a RGB color value to a pixel format.</DIV
81 ><DIV 84 ><DIV
82 CLASS="REFSYNOPSISDIV" 85 CLASS="REFSYNOPSISDIV"
83 ><A 86 ><A
84 NAME="AEN1271" 87 NAME="AEN1655"
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="AEN1272" 94 NAME="AEN1656"
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="AEN1278" 118 NAME="AEN1662"
116 ></A 119 ></A
117 ><H2 120 ><H2
118 >Description</H2 121 >Description</H2
119 ><P 122 ><P
120 >Maps the RGB color value to the specified pixel format and returns the 123 >Maps the RGB color value to the specified pixel format and returns the
127 as all 1 bits (fully opaque).</P 130 as all 1 bits (fully opaque).</P
128 ></DIV 131 ></DIV
129 ><DIV 132 ><DIV
130 CLASS="REFSECT1" 133 CLASS="REFSECT1"
131 ><A 134 ><A
132 NAME="AEN1283" 135 NAME="AEN1667"
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 RGB color value for a given 140 >A pixel value best approximating the given RGB 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="AEN1288" 156 NAME="AEN1672"
154 ></A 157 ></A
155 ><H2 158 ><H2
156 >See Also</H2 159 >See Also</H2
157 ><P 160 ><P
158 ><A 161 ><A
187 ><DIV 190 ><DIV
188 CLASS="NAVFOOTER" 191 CLASS="NAVFOOTER"
189 ><HR 192 ><HR
190 ALIGN="LEFT" 193 ALIGN="LEFT"
191 WIDTH="100%"><TABLE 194 WIDTH="100%"><TABLE
195 SUMMARY="Footer navigation table"
192 WIDTH="100%" 196 WIDTH="100%"
193 BORDER="0" 197 BORDER="0"
194 CELLPADDING="0" 198 CELLPADDING="0"
195 CELLSPACING="0" 199 CELLSPACING="0"
196 ><TR 200 ><TR
198 WIDTH="33%" 202 WIDTH="33%"
199 ALIGN="left" 203 ALIGN="left"
200 VALIGN="top" 204 VALIGN="top"
201 ><A 205 ><A
202 HREF="sdlsetgammaramp.html" 206 HREF="sdlsetgammaramp.html"
207 ACCESSKEY="P"
203 >Prev</A 208 >Prev</A
204 ></TD 209 ></TD
205 ><TD 210 ><TD
206 WIDTH="34%" 211 WIDTH="34%"
207 ALIGN="center" 212 ALIGN="center"
208 VALIGN="top" 213 VALIGN="top"
209 ><A 214 ><A
210 HREF="index.html" 215 HREF="index.html"
216 ACCESSKEY="H"
211 >Home</A 217 >Home</A
212 ></TD 218 ></TD
213 ><TD 219 ><TD
214 WIDTH="33%" 220 WIDTH="33%"
215 ALIGN="right" 221 ALIGN="right"
216 VALIGN="top" 222 VALIGN="top"
217 ><A 223 ><A
218 HREF="sdlmaprgba.html" 224 HREF="sdlmaprgba.html"
225 ACCESSKEY="N"
219 >Next</A 226 >Next</A
220 ></TD 227 ></TD
221 ></TR 228 ></TR
222 ><TR 229 ><TR
223 ><TD 230 ><TD
229 WIDTH="34%" 236 WIDTH="34%"
230 ALIGN="center" 237 ALIGN="center"
231 VALIGN="top" 238 VALIGN="top"
232 ><A 239 ><A
233 HREF="video.html" 240 HREF="video.html"
241 ACCESSKEY="U"
234 >Up</A 242 >Up</A
235 ></TD 243 ></TD
236 ><TD 244 ><TD
237 WIDTH="33%" 245 WIDTH="33%"
238 ALIGN="right" 246 ALIGN="right"