X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDL-TTF.html-inc;h=6fca4a97273aed82472339e7c36ebe9ac58ad81b;hb=c8ad4fe9f211e727310a1ce6d23ffb1d7822d71f;hp=915de49a3a055f28c7b1d8860c1f72ea1991239f;hpb=36bc514727c7359c24c6fd23c7103372f4be900c;p=sdlgit%2FSDL-Site.git diff --git a/pages/SDL-TTF.html-inc b/pages/SDL-TTF.html-inc index 915de49..6fca4a9 100644 --- a/pages/SDL-TTF.html-inc +++ b/pages/SDL-TTF.html-inc @@ -111,15 +111,14 @@

CONSTANTS

Top

-

The constants are not exported by default. You can export them into your namespace by doing:

-
 use SDL::TTF qw(:hinting :style);
+

The constants are exported by default. You can avoid this by doing:

+
 use SDL::TTF ();
+
+
 
-
-

or

-
 use SDL::TTF ':all';
 
 
-

or access them directly:

+

and access them directly:

 SDL::TTF::TTF_HINTING_NORMAL;