Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added render_text_solid

  • Loading branch information...
commit 984d4f5c3bcf79f11fa2e80457f1b847c3516972 1 parent 3b05183
Tobias Leich authored
Showing with 23 additions and 13 deletions.
  1. +23 −13 lib/pods/SDL/TTF.pod
View
36 lib/pods/SDL/TTF.pod
@@ -436,31 +436,41 @@ You may use Unicode::String for this.
=head2 Font Rendering
-=head3 render_glyph_solid
+=head3 Solid
-=head3 render_glyph_shaded
+=head4 render_glyph_solid
-=head3 render_glyph_blended
+=head4 render_text_solid
-=head3 render_text_solid
+ my $surface = SDL::TTF::render_text_solid($font, $text, $color);
-B<Note>: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374062
+Render the LATIN1 encoded text onto a new surface, using the Solid mode.
-=head3 render_text_shaded
+B<Note>: L<Space character bug|http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374062> So you have to upgrade libfreetype2 to at least version 2.3.5
-=head3 render_text_blended
+=head4 render_utf8_solid
-=head3 render_utf8_solid
+=head4 render_unicode_solid
-=head3 render_utf8_shaded
+=head3 Shaded
-=head3 render_utf8_blended
+=head4 render_glyph_shaded
-=head3 render_unicode_solid
+=head4 render_text_shaded
-=head3 render_unicode_shaded
+=head4 render_utf8_shaded
-=head3 render_unicode_blended
+=head4 render_unicode_shaded
+
+=head3 Blended
+
+=head4 render_glyph_blended
+
+=head4 render_text_blended
+
+=head4 render_utf8_blended
+
+=head4 render_unicode_blended
=head1 AUTHOR
Please sign in to comment.
Something went wrong with that request. Please try again.