GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PODS::SDLX::SFONT (3)

.ds Aq ’

NAME

SDLx::SFont - Extension making fonts out of images and printing them

CONTENTS

CATEGORY

Extension

SYNOPSIS



  use SDLx::SFont;
  use SDLx::App;

   #Make a surface
   #Select a font
   my $d = SDLx::App->new( title => app, width => 200, height => 200, depth => 32 );

   my $font = SDLx::SFont->new(t/font.png);
 
   #print using $font
  
   SDLx::SFont::print_text( $d, 10, 10, Huh );

   my $font2 = SDLx::SFont->new(t/font2.png);

   #print using font2

   SDLx::SFont::print_text( $d, 10, 10, Huh );

   $font->use();

   #print using $font
  
   SDLx::SFont::print_text( $d, 10, 10, Huh );

   #that is it folks ..



DESCRIPTION

a simpler print function for old SDL::SFont dependency on Frozen-Bubble and Pangzero.

USAGE

see synopsis

BUGS

You tell me! at sdlperl.ath.cx

SUPPORT

#sdl irc.perl.org

AUTHORS

See AUTHORS in SDL.

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO

perl(1), SDL(2).
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PODS::SDLX::SFONT (3) 2016-04-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.