Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
SDL_FillRect(3) | SDL API Reference | SDL_FillRect(3) |
NAME
SDL_FillRect - This function performs a fast fill of the given rectangle with some colorSYNOPSIS
#include "SDL.h"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.RETURN VALUE
This function returns 0 on success, or -1 on error.SEE ALSO
SDL_MapRGB, SDL_MapRGBA, SDL_BlitSurface, SDL_RectTue 11 Sep 2001, 23:01 | SDL |