comparison docs/html/sdlcreatergbsurfacefrom.html @ 55:55f1f1b3e27d

Added new docs for SDL 1.2.1
author Sam Lantinga <slouken@lokigames.com>
date Sun, 10 Jun 2001 19:31:57 +0000
parents 74212992fb08
children e5bc29de3f0a
comparison
equal deleted inserted replaced
54:028447a8a758 55:55f1f1b3e27d
2 ><HEAD 2 ><HEAD
3 ><TITLE 3 ><TITLE
4 >SDL_CreateRGBSurfaceFrom</TITLE 4 >SDL_CreateRGBSurfaceFrom</TITLE
5 ><META 5 ><META
6 NAME="GENERATOR" 6 NAME="GENERATOR"
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.61 7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64
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"
71 >SDL_CreateRGBSurfaceFrom</A 71 >SDL_CreateRGBSurfaceFrom</A
72 ></H1 72 ></H1
73 ><DIV 73 ><DIV
74 CLASS="REFNAMEDIV" 74 CLASS="REFNAMEDIV"
75 ><A 75 ><A
76 NAME="AEN1376" 76 NAME="AEN1441"
77 ></A 77 ></A
78 ><H2 78 ><H2
79 >Name</H2 79 >Name</H2
80 >SDL_CreateRGBSurfaceFrom&nbsp;--&nbsp;Create an SDL_Surface from pixel data</DIV 80 >SDL_CreateRGBSurfaceFrom&nbsp;--&nbsp;Create an SDL_Surface from pixel data</DIV
81 ><DIV 81 ><DIV
82 CLASS="REFSYNOPSISDIV" 82 CLASS="REFSYNOPSISDIV"
83 ><A 83 ><A
84 NAME="AEN1379" 84 NAME="AEN1444"
85 ></A 85 ></A
86 ><H2 86 ><H2
87 >Synopsis</H2 87 >Synopsis</H2
88 ><DIV 88 ><DIV
89 CLASS="FUNCSYNOPSIS" 89 CLASS="FUNCSYNOPSIS"
90 ><A 90 ><A
91 NAME="AEN1380" 91 NAME="AEN1445"
92 ></A 92 ></A
93 ><P 93 ><P
94 ></P 94 ></P
95 ><PRE 95 ><PRE
96 CLASS="FUNCSYNOPSISINFO" 96 CLASS="FUNCSYNOPSISINFO"
110 ></DIV 110 ></DIV
111 ></DIV 111 ></DIV
112 ><DIV 112 ><DIV
113 CLASS="REFSECT1" 113 CLASS="REFSECT1"
114 ><A 114 ><A
115 NAME="AEN1386" 115 NAME="AEN1451"
116 ></A 116 ></A
117 ><H2 117 ><H2
118 >Description</H2 118 >Description</H2
119 ><P 119 ><P
120 >Creates an SDL_Surface from the provided pixel data.</P 120 >Creates an SDL_Surface from the provided pixel data.</P
130 >depth</I 130 >depth</I
131 ></TT 131 ></TT
132 > specified in the parameter list. The pixel data is not copied into the <SPAN 132 > specified in the parameter list. The pixel data is not copied into the <SPAN
133 CLASS="STRUCTNAME" 133 CLASS="STRUCTNAME"
134 >SDL_Surface</SPAN 134 >SDL_Surface</SPAN
135 > structure so it should no be freed until the surface has been freed with a called to <A 135 > structure so it should not be freed until the surface has been freed with a called to <A
136 HREF="sdlfreesurface.html" 136 HREF="sdlfreesurface.html"
137 >SDL_FreeSurface</A 137 >SDL_FreeSurface</A
138 >. <TT 138 >. <TT
139 CLASS="PARAMETER" 139 CLASS="PARAMETER"
140 ><I 140 ><I
151 > for a more detailed description of the other parameters.</P 151 > for a more detailed description of the other parameters.</P
152 ></DIV 152 ></DIV
153 ><DIV 153 ><DIV
154 CLASS="REFSECT1" 154 CLASS="REFSECT1"
155 ><A 155 ><A
156 NAME="AEN1398" 156 NAME="AEN1463"
157 ></A
158 ><H2
159 >Return Value</H2
160 ><P
161 >Returns the created surface, or <SPAN
162 CLASS="RETURNVALUE"
163 >NULL</SPAN
164 > upon error.</P
165 ></DIV
166 ><DIV
167 CLASS="REFSECT1"
168 ><A
169 NAME="AEN1467"
157 ></A 170 ></A
158 ><H2 171 ><H2
159 >See Also</H2 172 >See Also</H2
160 ><P 173 ><P
161 ><A 174 ><A