RedHat 9 (Linux i386) - man page for sdl_fillrect (redhat section 3)

Linux & Unix Commands - Search Man Pages

Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

SDL_FillRect(3) 			SDL API Reference			  SDL_FillRect(3)

       SDL_FillRect- This function performs a fast fill of the given rectangle 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_SetClipRect)  then  this
       function will clip based on the intersection of the clip rectangle and the dstrect rectan-
       gle 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)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 12:39 PM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
Show Password

Not a Forum Member?
Forgot Password?