[cairo-commit] cairo-java/test/snippets CairoSnippetsPDF.java, 1.7, 1.8

Jeffrey Morgan commit at pdx.freedesktop.org
Mon May 16 07:44:15 PDT 2005


Committed by: kuzman

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

Modified Files:
	CairoSnippetsPDF.java 
Log Message:
Updated PDFSurface to reflect upstream changes.

Index: CairoSnippetsPDF.java
===================================================================
RCS file: /cvs/cairo/cairo-java/test/snippets/CairoSnippetsPDF.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- CairoSnippetsPDF.java	9 May 2005 14:47:03 -0000	1.7
+++ CairoSnippetsPDF.java	16 May 2005 14:44:13 -0000	1.8
@@ -27,7 +27,8 @@
 
 	public static void main(String[] args) throws Exception {
 		// initialize
-		PDFSurface surface = new PDFSurface("./snippets.pdf", X_INCHES, Y_INCHES, X_PPI, Y_PPI);
+		PDFSurface surface = new PDFSurface("./snippets.pdf", X_INCHES, Y_INCHES);
+		surface.setPPI( X_PPI, Y_PPI);
 		Context cr = new Context(surface);
 		
 		// call the snippets




More information about the cairo-commit mailing list