7 CONTENT=
"Modular DocBook HTML Stylesheet Version 1.76b+
10 TITLE=
"SDL Library Documentation"
11 HREF=
"index.html"><LINK
14 HREF=
"video.html"><LINK
16 TITLE=
"SDL_BlitSurface"
17 HREF=
"sdlblitsurface.html"><LINK
19 TITLE=
"SDL_DisplayFormat"
20 HREF=
"sdldisplayformat.html"></HEAD
31 SUMMARY=
"Header navigation table"
40 >SDL Library Documentation
</TH
48 HREF=
"sdlblitsurface.html"
62 HREF=
"sdldisplayformat.html"
83 >SDL_FillRect
--
This function performs a fast fill of the given rectangle with some color
</DIV
85 CLASS=
"REFSYNOPSISDIV"
99 CLASS=
"FUNCSYNOPSISINFO"
100 >#include
"SDL.h"</PRE
109 >(SDL_Surface *dst, SDL_Rect *dstrect, Uint32 color);
</CODE
123 >This function performs a fast fill of the given rectangle with
138 >, the whole surface will be filled with
146 >The color should be a pixel of the format used by the surface, and
147 can be generated by the
149 HREF=
"sdlmaprgb.html"
152 HREF=
"sdlmaprgba.html"
155 functions. If the color value contains an alpha value then the
156 destination is simply
"filled" with that alpha information, no blending
159 >If there is a clip rectangle set on the destination (set via
161 HREF=
"sdlsetcliprect.html"
164 function will clip based on the intersection of the clip rectangle and
170 > rectangle and the dstrect rectangle
171 will be modified to represent the area actually filled.
</P
181 >This function returns
<SPAN
199 HREF=
"sdlmaprgb.html"
206 HREF=
"sdlmaprgb.html"
213 HREF=
"sdlblitsurface.html"
232 SUMMARY=
"Footer navigation table"
243 HREF=
"sdlblitsurface.html"
261 HREF=
"sdldisplayformat.html"
285 >SDL_DisplayFormat
</TD