SDL::Surface.3pm

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

SDL::Surface - a SDL perl extension

SYNOPSIS

   use SDL::Surface;
   $image = new SDL::Surface(-name=>"yomama.jpg");
 
 

DESCRIPTION

The SDL::Surface module encapsulates the SDL_Surface* structure, and many of its ancillatory functions. It has a similar interface to the SDL::Surface class. Where it differs:
All methods require SDL::* objects. If $SDL::DEBUG is false, no type checks will be made.
"SDL::Surface::set_color_key" takes a flag and an SDL::Color object only.

AUTHOR

David J. Goehrig

SEE ALSO

perl SDL::Rect SDL::Color SDL::Surface