[cairo-commit] cairo-java/test/snippets CairoSnippetsPNG.java, 1.1, 1.2

Jeffrey Morgan commit at pdx.freedesktop.org
Fri Apr 1 05:58:47 PST 2005


Committed by: kuzman

Update of /cvs/cairo/cairo-java/test/snippets
In directory gabe:/tmp/cvs-serv24258/test/snippets

Modified Files:
	CairoSnippetsPNG.java 
Log Message:
Incorporated upstream API changes

Index: CairoSnippetsPNG.java
===================================================================
RCS file: /cvs/cairo/cairo-java/test/snippets/CairoSnippetsPNG.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CairoSnippetsPNG.java	8 Mar 2005 11:58:33 -0000	1.1
+++ CairoSnippetsPNG.java	1 Apr 2005 13:58:45 -0000	1.2
@@ -28,7 +28,7 @@
 		for (int i = 0; i < Snippets.snippets.length; i++) {
 			String filename = "./" + Snippets.snippets[i] + ".png";
 			Cairo cr = new Cairo();
-			PngSurface surface = new PngSurface(filename, Format.ARGB32, IMAGE_WIDTH, IMAGE_HEIGHT);
+			PngSurface surface = new PngSurface(filename);
 			cr.setTargetSurface(surface);
 			
 			cr.save();




More information about the cairo-commit mailing list