SDL_ConvertSurface.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_ConvertSurface" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_ConvertSurface- Converts a surface to the same format as another surface&.
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL/SDL&.h"
- .sp
- fBSDL_Surface *fBSDL_ConvertSurfacefPfR(fBSDL_Surface *src, SDL_PixelFormat *fmt, Uint32 flagsfR);
- .SH "DESCRIPTION"
- .PP
- Creates a new surface of the specified format, and then copies and maps the given surface to it&. If this function fails, it returns fBNULLfP&.
- .PP
- The fBflagsfR parameter is passed to fIfBSDL_CreateRGBSurfacefPfR and has those semantics&.
- .PP
- This function is used internally by fIfBSDL_DisplayFormatfPfR&.
- .PP
- This function can only be called after SDL_Init&.
- .SH "RETURN VALUE"
- .PP
- Returns either a pointer to the new surface, or fBNULLfP on error&.
- .SH "SEE ALSO"
- .PP
- fIfBSDL_CreateRGBSurfacefPfR, fIfBSDL_DisplayFormatfPfR, fIfBSDL_PixelFormatfRfR, fIfBSDL_SurfacefRfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01