[nexuiz-commits] r7555 - trunk/data/particles

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Aug 29 14:13:15 EDT 2009


Author: div0
Date: 2009-08-29 14:13:13 -0400 (Sat, 29 Aug 2009)
New Revision: 7555

Modified:
   trunk/data/particles/particlefont-template.png
   trunk/data/particles/particlefont.pl
Log:
more particlefont goodness


Modified: trunk/data/particles/particlefont-template.png
===================================================================
(Binary files differ)

Modified: trunk/data/particles/particlefont.pl
===================================================================
--- trunk/data/particles/particlefont.pl	2009-08-29 18:11:34 UTC (rev 7554)
+++ trunk/data/particles/particlefont.pl	2009-08-29 18:13:13 UTC (rev 7555)
@@ -49,13 +49,13 @@
 		if($magick)
 		{
 			checkmagick $magick->Draw(
-				fill => (($row + $col)%2 ? 'green' : 'white'),
+				fill => (($row + $col)%2 ? 'green' : 'cyan'),
 				primitive => 'rectangle',
 				points => sprintf "%d,%d %d,%d", $s0 * $pixw, $t0 * $pixh, $s1 * $pixw, $t1 * $pixh
 			);
 			checkmagick $magick->Annotate(
-				x => $s0 * $pixw,
-				y => $t1 * $pixh,
+				x => $s0 * $pixw + 2,
+				y => $t1 * $pixh - 2,
 				text => $i
 			);
 		}
@@ -80,8 +80,8 @@
 			points => sprintf "%d,%d %d,%d", $s0 * $pixw, $t0 * $pixh, $s1 * $pixw, $t1 * $pixh
 		);
 		checkmagick $magick->Annotate(
-			x => $s0 * $pixw,
-			y => $t1 * $pixh,
+			x => $s0 * $pixw + 2,
+			y => $t1 * $pixh - 2,
 			text => $i
 		);
 	}



More information about the nexuiz-commits mailing list