comparison docs/html/sdlfillrect.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_FillRect</A 71 >SDL_FillRect</A
72 ></H1 72 ></H1
73 ><DIV 73 ><DIV
74 CLASS="REFNAMEDIV" 74 CLASS="REFNAMEDIV"
75 ><A 75 ><A
76 NAME="AEN1935" 76 NAME="AEN1967"
77 ></A 77 ></A
78 ><H2 78 ><H2
79 >Name</H2 79 >Name</H2
80 >SDL_FillRect&nbsp;--&nbsp;This function performs a fast fill of the given rectangle with some color</DIV 80 >SDL_FillRect&nbsp;--&nbsp;This function performs a fast fill of the given rectangle with some color</DIV
81 ><DIV 81 ><DIV
82 CLASS="REFSYNOPSISDIV" 82 CLASS="REFSYNOPSISDIV"
83 ><A 83 ><A
84 NAME="AEN1938" 84 NAME="AEN1970"
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="AEN1939" 91 NAME="AEN1971"
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="AEN1945" 115 NAME="AEN1977"
116 ></A 116 ></A
117 ><H2 117 ><H2
118 >Description</H2 118 >Description</H2
119 ><P 119 ><P
120 >This function performs a fast fill of the given rectangle with 120 >This function performs a fast fill of the given rectangle with
143 >The color should be a pixel of the format used by the surface, and 143 >The color should be a pixel of the format used by the surface, and
144 can be generated by the 144 can be generated by the
145 <A 145 <A
146 HREF="sdlmaprgb.html" 146 HREF="sdlmaprgb.html"
147 >SDL_MapRGB</A 147 >SDL_MapRGB</A
148 > or <A
149 HREF="sdlmaprgba.html"
150 >SDL_MapRGBA</A
148 > 151 >
149 function.</P 152 functions. If the color value contains an alpha value then the
153 destination is simply "filled" with that alpha information, no blending
154 takes place.</P
150 ><P 155 ><P
151 >If there is a clip rectangle set on the destination (set via 156 >If there is a clip rectangle set on the destination (set via
152 <A 157 <A
153 HREF="sdlsetcliprect.html" 158 HREF="sdlsetcliprect.html"
154 >SDL_SetClipRect</A 159 >SDL_SetClipRect</A
157 the <TT 162 the <TT
158 CLASS="PARAMETER" 163 CLASS="PARAMETER"
159 ><I 164 ><I
160 >dstrect</I 165 >dstrect</I
161 ></TT 166 ></TT
162 > rectangle.</P 167 > rectangle and the dstrect rectangle
168 will be modified to represent the area actually filled.</P
163 ></DIV 169 ></DIV
164 ><DIV 170 ><DIV
165 CLASS="REFSECT1" 171 CLASS="REFSECT1"
166 ><A 172 ><A
167 NAME="AEN1957" 173 NAME="AEN1990"
168 ></A 174 ></A
169 ><H2 175 ><H2
170 >Return Value</H2 176 >Return Value</H2
171 ><P 177 ><P
172 >This function returns <SPAN 178 >This function returns <SPAN
179 > on error.</P 185 > on error.</P
180 ></DIV 186 ></DIV
181 ><DIV 187 ><DIV
182 CLASS="REFSECT1" 188 CLASS="REFSECT1"
183 ><A 189 ><A
184 NAME="AEN1962" 190 NAME="AEN1995"
185 ></A 191 ></A
186 ><H2 192 ><H2
187 >See Also</H2 193 >See Also</H2
188 ><P 194 ><P
189 ><A 195 ><A
190 HREF="sdlmaprgb.html" 196 HREF="sdlmaprgb.html"
191 ><TT 197 ><TT
192 CLASS="FUNCTION" 198 CLASS="FUNCTION"
193 >SDL_MapRGB</TT 199 >SDL_MapRGB</TT
200 ></A
201 >,
202 <A
203 HREF="sdlmaprgb.html"
204 ><TT
205 CLASS="FUNCTION"
206 >SDL_MapRGBA</TT
194 ></A 207 ></A
195 >, 208 >,
196 <A 209 <A
197 HREF="sdlblitsurface.html" 210 HREF="sdlblitsurface.html"
198 ><TT 211 ><TT