Permalink
Browse files

Cleaned up docs for SDLx::SFont

  • Loading branch information...
1 parent 37065e1 commit 86637f96c21d1ed96c4c24fae2a7a6fc7ce3ca20 @kthakore kthakore committed Jul 9, 2010
Showing with 78 additions and 87 deletions.
  1. +2 −1 CHANGELOG
  2. +0 −86 lib/SDLx/SFont.pm
  3. +76 −0 lib/pods/SDLx/SFont.pod
View
@@ -6,7 +6,8 @@ Revision history for Perl extension SDL_perl.
- Fixed the test on SDLx::Sprite
- Added SDLx::FPS [Blaizer]
- Cleaned up docs [Blaizer]
- - Added SDLx::SFont
+ - Cleaned up docs for SDLx::Rect and added Category
+ - Added SDLx::SFont and docs
* 2.5 RC
- Fixed SDL::Surface->get_pixels_ptr
View
@@ -32,89 +32,3 @@ bootstrap SDLx::SFont;
1;
-#################### main pod documentation begin ###################
-
-
-=head1 NAME
-
-SDLx::SFont - Extensions for printing text onto surfaces
-
-=head1 SYNOPSIS
-
-
- use SDLx::SFont;
- use SDLx::App;
-
- #Make a surface
- #Select a font
- my $d = SDL::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 ..
-
-=head1 DESCRIPTION
-
-a simpler print function for old SDL::SFont dependency on Frozen-Bubble and Pangzero.
-
-Might actually be a usefull module some day ...
-
-=head1 USAGE
-
-see synopsis
-
-=head1 BUGS
-
-none
-
-=head1 SUPPORT
-
-#sdl irc.perl.org
-
-=head1 AUTHOR
-
- Kartik Thakore
- CPAN ID: KTHAKORE
- ---
- kthakore@cpan.org
- http://sdl.perl.org
-
-=head1 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.
-
-
-=head1 SEE ALSO
-
-perl(1), SDL(2).
-
-=cut
-
-#################### main pod documentation end ###################
-
-
-1;
-# The preceding line will help the module return a true value
View
@@ -0,0 +1,76 @@
+=head1 NAME
+
+SDLx::SFont - Extension making fonts out of images and printing them
+
+=head1 CATEGORY
+
+Extension
+
+=head1 SYNOPSIS
+
+ use SDLx::SFont;
+ use SDLx::App;
+
+ #Make a surface
+ #Select a font
+ my $d = SDL::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 ..
+
+=head1 DESCRIPTION
+
+a simpler print function for old SDL::SFont dependency on Frozen-Bubble and Pangzero.
+
+=head1 USAGE
+
+see synopsis
+
+=head1 BUGS
+
+You tell me! at sdlperl.ath.cx
+
+=head1 SUPPORT
+
+#sdl irc.perl.org
+
+=head1 AUTHOR
+
+ Kartik Thakore
+ CPAN ID: KTHAKORE
+ ---
+ kthakore@cpan.org
+ http://sdl.perl.org
+
+=head1 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.
+
+
+=head1 SEE ALSO
+
+perl(1), SDL(2).
+
+=cut
+

0 comments on commit 86637f9

Please sign in to comment.