man SDL::Surface () - a SDL perl extension

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 CW$SDL::DEBUG is false, no type checks will be made.
•
CWSDL::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