comparison docs/html/sdlpixelformat.html @ 1279:e867f327aa54

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sat, 28 Jan 2006 05:47:11 +0000
parents 355632dca928
children
comparison
equal deleted inserted replaced
1278:693dd6657b35 1279:e867f327aa54
88 ></A 88 ></A
89 ><H2 89 ><H2
90 >Structure Definition</H2 90 >Structure Definition</H2
91 ><PRE 91 ><PRE
92 CLASS="PROGRAMLISTING" 92 CLASS="PROGRAMLISTING"
93 >typedef struct{ 93 >typedef struct SDL_PixelFormat {
94 SDL_Palette *palette; 94 SDL_Palette *palette;
95 Uint8 BitsPerPixel; 95 Uint8 BitsPerPixel;
96 Uint8 BytesPerPixel; 96 Uint8 BytesPerPixel;
97 Uint8 Rloss, Gloss, Bloss, Aloss;
98 Uint8 Rshift, Gshift, Bshift, Ashift;
97 Uint32 Rmask, Gmask, Bmask, Amask; 99 Uint32 Rmask, Gmask, Bmask, Amask;
98 Uint8 Rshift, Gshift, Bshift, Ashift;
99 Uint8 Rloss, Gloss, Bloss, Aloss;
100 Uint32 colorkey; 100 Uint32 colorkey;
101 Uint8 alpha; 101 Uint8 alpha;
102 } SDL_PixelFormat;</PRE 102 } SDL_PixelFormat;</PRE
103 ></DIV 103 ></DIV
104 ><DIV 104 ><DIV