SDL_CreateRGBSurfaceFrom.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_CreateRGBSurfaceFrom" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_CreateRGBSurfaceFrom- Create an SDL_Surface from pixel data
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL&.h"
- .sp
- fBSDL_Surface *fBSDL_CreateRGBSurfaceFromfPfR(fBvoid *pixels, int width, int height, int depth, int pitch, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 AmaskfR);
- .SH "DESCRIPTION"
- .PP
- Creates an SDL_Surface from the provided pixel data&.
- .PP
- The data stored in fBpixelsfR is assumed to be of the fBdepthfR specified in the parameter list&. The pixel data is not copied into the fBSDL_SurfacefR structure so it should not be freed until the surface has been freed with a called to fISDL_FreeSurfacefR&. fBpitchfR is the length of each scanline in bytes&.
- .PP
- See fIfBSDL_CreateRGBSurfacefPfR for a more detailed description of the other parameters&.
- .SH "RETURN VALUE"
- .PP
- Returns the created surface, or fBNULLfR upon error&.
- .SH "SEE ALSO"
- .PP
- fIfBSDL_CreateRGBSurfacefPfR, fIfBSDL_FreeSurfacefPfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01