SDL_FillRect.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_FillRect" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_FillRect- This function performs a fast fill of the given rectangle with some color
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL&.h"
- .sp
- fBint fBSDL_FillRectfPfR(fBSDL_Surface *dst, SDL_Rect *dstrect, Uint32 colorfR);
- .SH "DESCRIPTION"
- .PP
- This function performs a fast fill of the given rectangle with fBcolorfR&. If fBdstrectfR is fBNULLfP, the whole surface will be filled with fBcolorfR&.
- .PP
- The color should be a pixel of the format used by the surface, and can be generated by the fISDL_MapRGBfR or fISDL_MapRGBAfR functions&. If the color value contains an alpha value then the destination is simply "filled" with that alpha information, no blending takes place&.
- .PP
- If there is a clip rectangle set on the destination (set via fISDL_SetClipRectfR) then this function will clip based on the intersection of the clip rectangle and the fBdstrectfR rectangle and the dstrect rectangle will be modified to represent the area actually filled&.
- .SH "RETURN VALUE"
- .PP
- This function returns fB0fR on success, or fB-1fR on error&.
- .SH "SEE ALSO"
- .PP
- fIfBSDL_MapRGBfPfR, fIfBSDL_MapRGBAfPfR, fIfBSDL_BlitSurfacefPfR, fIfBSDL_RectfRfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01