comparison docs/html/sdlconvertsurface.html @ 181:e5bc29de3f0a

Updated from the SDL Documentation Project
author Sam Lantinga <slouken@libsdl.org>
date Fri, 14 Sep 2001 02:41:09 +0000
parents 55f1f1b3e27d
children 355632dca928
comparison
equal deleted inserted replaced
180:578815880307 181:e5bc29de3f0a
71 >SDL_ConvertSurface</A 71 >SDL_ConvertSurface</A
72 ></H1 72 ></H1
73 ><DIV 73 ><DIV
74 CLASS="REFNAMEDIV" 74 CLASS="REFNAMEDIV"
75 ><A 75 ><A
76 NAME="AEN1843" 76 NAME="AEN1874"
77 ></A 77 ></A
78 ><H2 78 ><H2
79 >Name</H2 79 >Name</H2
80 >SDL_ConvertSurface&nbsp;--&nbsp;Converts a surface to the same format as another surface.</DIV 80 >SDL_ConvertSurface&nbsp;--&nbsp;Converts a surface to the same format as another surface.</DIV
81 ><DIV 81 ><DIV
82 CLASS="REFSYNOPSISDIV" 82 CLASS="REFSYNOPSISDIV"
83 ><A 83 ><A
84 NAME="AEN1846" 84 NAME="AEN1877"
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="AEN1847" 91 NAME="AEN1878"
92 ></A 92 ></A
93 ><P 93 ><P
94 ></P 94 ></P
95 ><PRE 95 ><PRE
96 CLASS="FUNCSYNOPSISINFO" 96 CLASS="FUNCSYNOPSISINFO"
97 >#include "SDL.h"</PRE 97 >#include "SDL/SDL.h"</PRE
98 ><P 98 ><P
99 ><CODE 99 ><CODE
100 ><CODE 100 ><CODE
101 CLASS="FUNCDEF" 101 CLASS="FUNCDEF"
102 >SDL_Surface *<B 102 >SDL_Surface *<B
110 ></DIV 110 ></DIV
111 ></DIV 111 ></DIV
112 ><DIV 112 ><DIV
113 CLASS="REFSECT1" 113 CLASS="REFSECT1"
114 ><A 114 ><A
115 NAME="AEN1853" 115 NAME="AEN1884"
116 ></A 116 ></A
117 ><H2 117 ><H2
118 >Description</H2 118 >Description</H2
119 ><P 119 ><P
120 >Creates a new surface of the specified format, and then copies and maps 120 >Creates a new surface of the specified format, and then copies and maps
145 ><TT 145 ><TT
146 CLASS="FUNCTION" 146 CLASS="FUNCTION"
147 >SDL_DisplayFormat</TT 147 >SDL_DisplayFormat</TT
148 ></A 148 ></A
149 >.</P 149 >.</P
150 ><P
151 >This function can only be called after SDL_Init.</P
150 ></DIV 152 ></DIV
151 ><DIV 153 ><DIV
152 CLASS="REFSECT1" 154 CLASS="REFSECT1"
153 ><A 155 ><A
154 NAME="AEN1864" 156 NAME="AEN1896"
155 ></A 157 ></A
156 ><H2 158 ><H2
157 >Return Value</H2 159 >Return Value</H2
158 ><P 160 ><P
159 >Returns either a pointer to the new surface, or 161 >Returns either a pointer to the new surface, or
163 > on error.</P 165 > on error.</P
164 ></DIV 166 ></DIV
165 ><DIV 167 ><DIV
166 CLASS="REFSECT1" 168 CLASS="REFSECT1"
167 ><A 169 ><A
168 NAME="AEN1868" 170 NAME="AEN1900"
169 ></A 171 ></A
170 ><H2 172 ><H2
171 >See Also</H2 173 >See Also</H2
172 ><P 174 ><P
173 ><A 175 ><A