SDL_DisplayFormat.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_DisplayFormat" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_DisplayFormat- Convert a surface to the display format
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL&.h"
- .sp
- fBSDL_Surface *fBSDL_DisplayFormatfPfR(fBSDL_Surface *surfacefR);
- .SH "DESCRIPTION"
- .PP
- This function takes a surface and copies it to a new surface of the pixel format and colors of the video framebuffer, suitable for fast blitting onto the display surface&. It calls fISDL_ConvertSurfacefR
- .PP
- If you want to take advantage of hardware colorkey or alpha blit acceleration, you should set the colorkey and alpha value before calling this function&.
- .PP
- If you want an alpha channel, see fISDL_DisplayFormatAlphafR&.
- .SH "RETURN VALUE"
- .PP
- If the conversion fails or runs out of memory, it returns fBNULLfR
- .SH "SEE ALSO"
- .PP
- fIfBSDL_ConvertSurfacefPfR, fIfBSDL_DisplayFormatAlphafPfR fIfBSDL_SetAlphafPfR, fIfBSDL_SetColorKeyfPfR, fIfBSDL_SurfacefRfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01