Commit | Line | Data |
30fd24c2 |
1 | <div class="pod"> |
2 | <!-- INDEX START --> |
3 | <h3 id="TOP">Index</h3> |
4 | |
5 | <ul><li><a href="#NAME">NAME</a></li> |
6 | <li><a href="#CATEGORY">CATEGORY </a></li> |
7 | <li><a href="#SYNOPSIS">SYNOPSIS</a></li> |
8 | <li><a href="#DESCRIPTION">DESCRIPTION</a></li> |
9 | <li><a href="#USAGE">USAGE</a></li> |
10 | <li><a href="#BUGS">BUGS</a></li> |
11 | <li><a href="#SUPPORT">SUPPORT</a></li> |
12 | <li><a href="#AUTHOR">AUTHOR</a></li> |
13 | <li><a href="#COPYRIGHT">COPYRIGHT</a></li> |
14 | <li><a href="#SEE_ALSO">SEE ALSO</a> |
15 | </li> |
16 | </ul><hr /> |
17 | <!-- INDEX END --> |
18 | |
19 | <h1 id="NAME">NAME</h1><p><a href="#TOP" class="toplink">Top</a></p> |
20 | <div id="NAME_CONTENT"> |
21 | <p>SDLx::SFont - Extension making fonts out of images and printing them</p> |
22 | |
23 | </div> |
24 | <h1 id="CATEGORY">CATEGORY </h1><p><a href="#TOP" class="toplink">Top</a></p> |
25 | <div id="CATEGORY_CONTENT"> |
26 | <p>Extension</p> |
27 | |
28 | </div> |
29 | <h1 id="SYNOPSIS">SYNOPSIS</h1><p><a href="#TOP" class="toplink">Top</a></p> |
30 | <div id="SYNOPSIS_CONTENT"> |
31 | <pre> use SDLx::SFont; |
32 | use SDLx::App; |
33 | |
34 | #Make a surface |
35 | #Select a font |
36 | my $d = SDLx::App->new( -title => 'app', -width => 200, -height => 200, -depth => 32 ); |
37 | |
38 | my $font = SDLx::SFont->new('t/font.png'); |
39 | |
40 | #print using $font |
41 | |
42 | SDLx::SFont::print_text( $d, 10, 10, 'Huh' ); |
43 | |
44 | my $font2 = SDLx::SFont->new('t/font2.png'); |
45 | |
46 | #print using font2 |
47 | |
48 | SDLx::SFont::print_text( $d, 10, 10, 'Huh' ); |
49 | |
50 | $font->use(); |
51 | |
52 | #print using $font |
53 | |
54 | SDLx::SFont::print_text( $d, 10, 10, 'Huh' ); |
55 | |
56 | #that is it folks .. |
57 | |
58 | </pre> |
59 | |
60 | </div> |
61 | <h1 id="DESCRIPTION">DESCRIPTION</h1><p><a href="#TOP" class="toplink">Top</a></p> |
62 | <div id="DESCRIPTION_CONTENT"> |
63 | <p>a simpler print function for old SDL::SFont dependency on Frozen-Bubble and Pangzero.</p> |
64 | |
65 | </div> |
66 | <h1 id="USAGE">USAGE</h1><p><a href="#TOP" class="toplink">Top</a></p> |
67 | <div id="USAGE_CONTENT"> |
68 | <p>see synopsis</p> |
69 | |
70 | </div> |
71 | <h1 id="BUGS">BUGS</h1><p><a href="#TOP" class="toplink">Top</a></p> |
72 | <div id="BUGS_CONTENT"> |
73 | <p>You tell me! at sdlperl.ath.cx</p> |
74 | |
75 | </div> |
76 | <h1 id="SUPPORT">SUPPORT</h1><p><a href="#TOP" class="toplink">Top</a></p> |
77 | <div id="SUPPORT_CONTENT"> |
78 | <p>#sdl irc.perl.org</p> |
79 | |
80 | </div> |
81 | <h1 id="AUTHOR">AUTHOR</h1><p><a href="#TOP" class="toplink">Top</a></p> |
82 | <div id="AUTHOR_CONTENT"> |
83 | <pre> Kartik Thakore |
84 | CPAN ID: KTHAKORE |
85 | --- |
86 | kthakore@cpan.org |
87 | http://sdl.perl.org |
88 | |
89 | </pre> |
90 | |
91 | </div> |
92 | <h1 id="COPYRIGHT">COPYRIGHT</h1><p><a href="#TOP" class="toplink">Top</a></p> |
93 | <div id="COPYRIGHT_CONTENT"> |
94 | <p>This program is free software; you can redistribute |
95 | it and/or modify it under the same terms as Perl itself.</p> |
96 | <p>The full text of the license can be found in the |
97 | LICENSE file included with this module.</p> |
98 | |
99 | |
100 | |
101 | |
102 | |
103 | </div> |
104 | <h1 id="SEE_ALSO">SEE ALSO</h1><p><a href="#TOP" class="toplink">Top</a></p> |
105 | <div id="SEE_ALSO_CONTENT"> |
106 | <p>perl(1), SDL(2).</p> |
107 | |
108 | </div> |
109 | </div> |