[cairo-commit] cairo-java/test/kapow Kapow.java,1.12,1.13

Jeffrey Morgan commit at pdx.freedesktop.org
Mon May 2 18:36:17 PDT 2005


Committed by: kuzman

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

Modified Files:
	Kapow.java 
Log Message:
Renamed BoundingBox to Box, Cairo to Context, and removed PsSurface

Index: Kapow.java
===================================================================
RCS file: /cvs/cairo/cairo-java/test/kapow/Kapow.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Kapow.java	23 Apr 2005 16:48:28 -0000	1.12
+++ Kapow.java	3 May 2005 01:36:15 -0000	1.13
@@ -9,7 +9,7 @@
 
 package kapow;
 
-import org.freedesktop.cairo.Cairo;
+import org.freedesktop.cairo.Context;
 import org.freedesktop.cairo.CurrentPath;
 import org.freedesktop.cairo.FontSlant;
 import org.freedesktop.cairo.FontWeight;
@@ -25,7 +25,7 @@
  */
 public class Kapow {
 	
-	public Cairo cr;
+	public Context cr;
 	private MyPath path;
 	private String filename = "kapow.png";
 	public int IMAGE_WIDTH = 460;
@@ -46,7 +46,7 @@
     private RGBColor purple = new RGBColor(0,0,0.4);
 
 	public Kapow(String text) throws Exception {
-		cr = new Cairo();
+		cr = new Context();
 		PngSurface surface = new PngSurface(Format.ARGB32, IMAGE_WIDTH, IMAGE_HEIGHT);
 		cr.setTargetSurface(surface);
 




More information about the cairo-commit mailing list