Penguin
Blame: SDL_Color(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_Color(3) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 SDL_Color
2 !!!SDL_Color
3 NAME
4 STRUCTURE DEFINITION
5 STRUCTURE DATA
6 DESCRIPTION
7 SEE ALSO
8 ----
9 !!NAME
10
11
12 SDL_Color- Format independent color description
13 !!STRUCTURE DEFINITION
14
15
16 typedef struct{
17 Uint8 r;
18 Uint8 g;
19 Uint8 b;
20 Uint8 unused;
21 } SDL_Color;
22 !!STRUCTURE DATA
23
24
25 __r__ Red intensity
26
27
28 __g__ Green intensity
29
30
31 __b__ Blue intensity
32
33
34 __unused__ Unused
35 !!DESCRIPTION
36
37
38 __SDL_Color__ describes a color in a format independent
39 way. You can convert a __SDL_Color__ to a pixel value for
40 a certain pixel format using __SDL_MapRGB__.
41 !!SEE ALSO
42
43
2 perry 44 __SDL_!PixelFormat__, __SDL_!SetColors__,
1 perry 45 __SDL_Palette__
46 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.