Class SDLPixelFormat[in The SDL Falcon Module.]

Encapsulates SDL_PixelFormat structure.

class SDLPixelFormat

more...

Summary

AlossAlpha loss factor
AmaskAlpha bitfield mask
AshiftAlpha shift factor
BitsPerPixelNumber of bits per pixel of this image
BlossBlue loss factor
BmaskBlue bitfield mask
BshiftBlue shift factor
BytesPerPixelNumber of bytes per pixel of this image
GlossGreen loss factor
GmaskGreen bitfield mask
GshiftGreen shift factor
RlossRed loss factor
RmaskRed bitfield mask
RshiftRed shift factor
alphaOverall image Alpha value
colorkeyPixel value of transparent pixels
paletteMay be nil or may be an instance of if this surface has a palette

Detailed description

Encapsulates SDL_PixelFormat structure.

This class stores the SDL_PixelFormat structure. Scripts don't usually want to use this, but it may be useful to determine and set color data for palette based images.

Properties

Aloss

Alpha loss factor

Amask

Alpha bitfield mask

Ashift

Alpha shift factor

BitsPerPixel

Number of bits per pixel of this image

Bloss

Blue loss factor

Bmask

Blue bitfield mask

Bshift

Blue shift factor

BytesPerPixel

Number of bytes per pixel of this image

Gloss

Green loss factor

Gmask

Green bitfield mask

Gshift

Green shift factor

Rloss

Red loss factor

Rmask

Red bitfield mask

Rshift

Red shift factor

alpha

Overall image Alpha value

colorkey

Pixel value of transparent pixels

palette

May be nil or may be an instance of if this surface has a palette


Made with faldoc 2.0.0