Penguin
Blame: SDL_DisplayFormat(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_DisplayFormat(3) version 2 showing authors affecting page license. View with all changes included.
Rev Author # Line
1 perry 1 SDL_!DisplayFormat
2 !!!SDL_!DisplayFormat
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 SEE ALSO
8 ----
9 !!NAME
10
11
12 SDL_!DisplayFormat- Convert a surface to the display format
13 !!SYNOPSIS
14
15
16 __#include __
17
18
19 __SDL_Surface *SDL_!DisplayFormat__(__SDL_Surface
20 *surface__);
21 !!DESCRIPTION
22
23
24 This function takes a surface and copies it to a new surface
25 of the pixel format and colors of the video framebuffer,
26 suitable for fast blitting onto the display surface. It
27 calls ''SDL_!ConvertSurface''
28
29
30 If you want to take advantage of hardware colorkey or alpha
31 blit acceleration, you should set the colorkey and alpha
32 value before calling this function.
33
34
35 If you want an alpha channel, see
36 ''SDL_!DisplayFormatAlpha''.
37 !!RETURN VALUE
38
39
40 If the conversion fails or runs out of memory, it returns
41 __NULL__
42 !!SEE ALSO
43
44
45 __SDL_!ConvertSurface__, __SDL_!DisplayFormatAlpha
46 SDL_!SetAlpha__, __SDL_!SetColorKey__,
47 __SDL_Surface__
48 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.