Penguin
Blame: SDL_FillRect(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_FillRect(3) version 2, including all changes. View license author blame.
Rev Author # Line
2 perry 1 SDL_!FillRect
2 !!!SDL_!FillRect
1 perry 3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 SEE ALSO
8 ----
9 !!NAME
10
11
2 perry 12 SDL_!FillRect- This function performs a fast fill of the given rectangle with some color
1 perry 13 !!SYNOPSIS
14
15
16 __#include __
17
18
2 perry 19 __int SDL_!FillRect__(__SDL_Surface *dst, SDL_Rect
1 perry 20 *dstrect, Uint32 color__);
21 !!DESCRIPTION
22
23
24 This function performs a fast fill of the given rectangle
25 with __color__. If __dstrect__ is __NULL__, the
26 whole surface will be filled with __color__.
27
28
29 The color should be a pixel of the format used by the
30 surface, and can be generated by the ''SDL_MapRGB''
31 function.
32
33
34 If there is a clip rectangle set on the destination (set via
2 perry 35 ''SDL_!SetClipRect'') then this function will clip based
1 perry 36 on the intersection of the clip rectangle and the
37 __dstrect__ rectangle.
38 !!RETURN VALUE
39
40
41 This function returns __0__ on success, or __-1__ on
42 error.
43 !!SEE ALSO
44
45
2 perry 46 __SDL_MapRGB__, __SDL_!BlitSurface__,
1 perry 47 __SDL_Rect__
48 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.