SDL::Color.3pm

Langue: en

Version: 2003-03-12 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SDL::Color - a SDL perl extension

SYNOPSIS

   $color = new SDL::Color ( -r => 0xde, -g => 0xad, -b =>c0 );
   $color = new SDL::Color -surface => $app, -pixel => $app->pixel($x,$y);
   $color = new SDL::Color -color => SDL::NewColor(0xff,0xaa,0xdd);
 
 

DESCRIPTION

"SDL::Color" is a wrapper for display format independent color representations, with the same interface as SDL::Color.

AUTHOR

David J. Goehrig

SEE ALSO

perl SDL::Surface