Wayne Keenan > SDL-sdlpl-1.08 > SDL::Font

Download:
SDL-sdlpl-1.08.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

SDL::Font - a SDL perl extension

SYNOPSIS ^

  $font = new Font "Font.png";
  $font->use();

DESCRIPTION ^

        SDL::Font provides a mechanism for loading and using SFont style
fonts.  To create a new font, simply create a new instance of the class
Font, passing it the name of the image file that contains the SFont.

        To use the font, call the use method of the font instance as
shown above.  Perl will automagically deallocate all of the buffers.
You must create and use a font prior to printing on any surface.
For further details see the file SFont-README in this distribution.

AUTHOR ^

David J. Goehrig

SEE ALSO ^

perl(1) SDL::Surface(3)

syntax highlighting: