docs/man3/SDL_PixelFormat.3
changeset 1279 e867f327aa54
parent 181 e5bc29de3f0a
child 2283 546f7c1eb755
equal deleted inserted replaced
1278:693dd6657b35 1279:e867f327aa54
     2 .SH "NAME"
     2 .SH "NAME"
     3 SDL_PixelFormat\- Stores surface format information
     3 SDL_PixelFormat\- Stores surface format information
     4 .SH "STRUCTURE DEFINITION"
     4 .SH "STRUCTURE DEFINITION"
     5 .PP
     5 .PP
     6 .nf
     6 .nf
     7 \f(CWtypedef struct{
     7 \f(CWtypedef struct SDL_PixelFormat {
     8   SDL_Palette *palette;
     8   SDL_Palette *palette;
     9   Uint8  BitsPerPixel;
     9   Uint8  BitsPerPixel;
    10   Uint8  BytesPerPixel;
    10   Uint8  BytesPerPixel;
       
    11   Uint8  Rloss, Gloss, Bloss, Aloss;
       
    12   Uint8  Rshift, Gshift, Bshift, Ashift;
    11   Uint32 Rmask, Gmask, Bmask, Amask;
    13   Uint32 Rmask, Gmask, Bmask, Amask;
    12   Uint8  Rshift, Gshift, Bshift, Ashift;
       
    13   Uint8  Rloss, Gloss, Bloss, Aloss;
       
    14   Uint32 colorkey;
    14   Uint32 colorkey;
    15   Uint8  alpha;
    15   Uint8  alpha;
    16 } SDL_PixelFormat;\fR
    16 } SDL_PixelFormat;\fR
    17 .fi
    17 .fi
    18 .PP
    18 .PP