Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
SDL_FillRect(3)
Edit
PageHistory
Diff
Info
LikePages
SDL_!FillRect !!!SDL_!FillRect NAME SYNOPSIS DESCRIPTION RETURN VALUE SEE ALSO ---- !!NAME SDL_!FillRect- This function performs a fast fill of the given rectangle with some color !!SYNOPSIS __#include __ __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'' function. 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. !!RETURN VALUE This function returns __0__ on success, or __-1__ on error. !!SEE ALSO __SDL_MapRGB__, __SDL_!BlitSurface__, __SDL_Rect__ ----
One page links to
SDL_FillRect(3)
:
SDLManPages
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.