SDL_FillRect man page on JazzOS

Man page or keyword search:  
man Server   2339 pages
apropos Keyword Search (all sections)
Output format
JazzOS logo
[printable version]

SDL_FillRect(3)		       SDL API Reference	       SDL_FillRect(3)

       SDL_FillRect  - This function performs a fast fill of the given rectan‐
       gle with some color

       #include "SDL.h"

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

       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_Set‐
       ClipRect) 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.

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

       SDL_MapRGB, SDL_MapRGBA, SDL_BlitSurface, SDL_Rect

SDL			    Tue 11 Sep 2001, 23:01	       SDL_FillRect(3)

List of man pages available for JazzOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net