1SDL::Palette(3)       User Contributed Perl Documentation      SDL::Palette(3)
2
3
4

NAME

6       SDL::Palette - a perl extension
7

DESCRIPTION

9       SDL::Palette provides an interface to the SDL_Palette structures, and
10       can be used to set the color values of an existing palette's indexes.
11

METHODS

13   blue ( index, [value] )
14       Fetches and sets the blue component of the color at index.
15
16   green ( index, [value] )
17       Fetches and sets the green component of the color at index.
18
19   red ( index, [value] )
20       Fetches and sets the red component of the color at index.
21
22   color ( index, [ r, g, b ] )
23       Fetches and sets the RGB, returns an SDL_Color *.
24
25   size
26       Returns the size of the palette.
27

AUTHOR

29       David J. Goehrig
30

SEE ALSO

32       perl SDL::Color SDL::Surface
33
34
35
36perl v5.12.0                      2010-05-06                   SDL::Palette(3)
Impressum