From 9682c8870b8ff5e4ac2e4c70b759f791c6f38c1f Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Mon, 9 Jul 2012 11:27:07 -0700 Subject: Import SDL release-1.2.15 Change-Id: I505c4aea24325cad475f217db5589814b4c75dbf --- distrib/sdl-1.2.15/docs/html/sdlfillrect.html | 291 ++++++++++++++++++++++++++ 1 file changed, 291 insertions(+) create mode 100644 distrib/sdl-1.2.15/docs/html/sdlfillrect.html (limited to 'distrib/sdl-1.2.15/docs/html/sdlfillrect.html') diff --git a/distrib/sdl-1.2.15/docs/html/sdlfillrect.html b/distrib/sdl-1.2.15/docs/html/sdlfillrect.html new file mode 100644 index 0000000..4ace062 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlfillrect.html @@ -0,0 +1,291 @@ +SDL_FillRect
SDL Library Documentation
PrevNext

SDL_FillRect

Name

SDL_FillRect -- This function performs a fast fill of the given rectangle with some color

Synopsis

#include "SDL.h"

int SDL_FillRect(SDL_Surface *dst, SDL_Rect *dstrect, Uint32 color);

Description

This function performs a fast fill of the given rectangle with +color. If dstrect +is NULL, the whole surface will be filled with +color.

The color should be a pixel of the format used by the surface, and +can be generated by the +SDL_MapRGB or SDL_MapRGBA +functions. If the color value contains an alpha value then the +destination is simply "filled" with that alpha information, no blending +takes place.

If there is a clip rectangle set on the destination (set via +SDL_SetClipRect) then this +function will clip based on the intersection of the clip rectangle and +the dstrect rectangle and the dstrect rectangle +will be modified to represent the area actually filled.

Return Value

This function returns 0 on success, or +-1 on error.

See Also

SDL_MapRGB, +SDL_MapRGBA, +SDL_BlitSurface, +SDL_Rect


PrevHomeNext
SDL_BlitSurfaceUpSDL_DisplayFormat
\ No newline at end of file -- cgit v1.1