[cairo-commit] cairo-java/test/kapow Kapow.java,1.5,1.6

Jeffrey Morgan commit at pdx.freedesktop.org
Mon Mar 14 08:24:08 PST 2005


Committed by: kuzman

Update of /cvs/cairo/cairo-java/test/kapow
In directory gabe:/tmp/cvs-serv705/test/kapow

Modified Files:
	Kapow.java 
Log Message:
Fixed allocation of TextExtents and free memory.

Index: Kapow.java
===================================================================
RCS file: /cvs/cairo/cairo-java/test/kapow/Kapow.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Kapow.java	10 Mar 2005 19:38:33 -0000	1.5
+++ Kapow.java	14 Mar 2005 16:24:06 -0000	1.6
@@ -26,8 +26,8 @@
 	public Cairo cr;
 	private MyPath path;
 	private String filename = "kapow.png";
-	public int IMAGE_WIDTH = 384;
-	public int IMAGE_HEIGHT = 256;
+	public int IMAGE_WIDTH = 460;
+	public int IMAGE_HEIGHT = 308;
 
 	private int SPIKES = 10;
 	private int SHADOW_OFFSET = 10;
@@ -147,7 +147,6 @@
         private boolean firstTime = true;
 
         public void moveTo(double x, double y) {
-        	System.out.println("moveTo");
             if (firstTime) {
                 cr.newPath();
                 firstTime = false;




More information about the cairo-commit mailing list