Penguin
Blame: SDL_DisplayFormatAlpha(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_DisplayFormatAlpha(3) version 2 showing authors affecting page license. View with all changes included.
Rev Author # Line
1 perry 1 SDL_!DisplayFormatAlpha
2 !!!SDL_!DisplayFormatAlpha
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 SEE ALSO
8 ----
9 !!NAME
10
11
12 SDL_!DisplayFormatAlpha- Convert a surface to the display format
13 !!SYNOPSIS
14
15
16 __#include __
17
18
19 __SDL_Surface *SDL_!DisplayFormatAlpha__(__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 plus
26 an alpha channel, suitable for fast blitting onto the
27 display surface. It calls
28 ''SDL_!ConvertSurface''
29
30
31 If you want to take advantage of hardware colorkey or alpha
32 blit acceleration, you should set the colorkey and alpha
33 value before calling this function.
34 !!RETURN VALUE
35
36
37 If the conversion fails or runs out of memory, it returns
38 __NULL__
39 !!SEE ALSO
40
41
42 ''SDL_!ConvertSurface'', ''SDL_!SetAlpha'',
43 ''SDL_!SetColorKey'', ''SDL_!DisplayFormat'',
44 ''SDL_Surface''
45 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.