]> git.imager.perl.org - imager.git/blobdiff - samples/README
- added samples/align-string.pl
[imager.git] / samples / README
index e71a210c1c3a69bdc96969aa464fb6e9108801aa..5f94c7f771c7265526efa4afd3655b14ccd2dd31 100644 (file)
@@ -71,3 +71,19 @@ slant_text.pl
   As part of this it demonstrates calculating the transformed bounding
   box of the text.
 
+tk-photo.pl
+
+  Simple example of making a Tk::Photo object using Imager data.
+
+align-string.pl
+
+  Simple demonstration of the align_string() method.  Usage:
+
+   perl align-string.pl fontfile size outputfile text...
+
+  eg.
+
+   perl align-string.pl fontfiles/ImUgly.ttf 60 test.ppm .A.
+
+  This demonstrates how the various values of halign and valign
+  behave.