[cairo-commit] cairo-java/test/snippets CairoSnippetsPDF.java, 1.9, 1.10

Jeffrey Morgan commit at pdx.freedesktop.org
Tue Aug 16 17:34:35 PDT 2005


Committed by: kuzman

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

Modified Files:
	CairoSnippetsPDF.java 
Log Message:
Applied a patch from Owen and updated the examples.

Index: CairoSnippetsPDF.java
===================================================================
RCS file: /cvs/cairo/cairo-java/test/snippets/CairoSnippetsPDF.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- CairoSnippetsPDF.java	3 Jun 2005 21:29:16 -0000	1.9
+++ CairoSnippetsPDF.java	17 Aug 2005 00:34:31 -0000	1.10
@@ -28,7 +28,7 @@
 	public static void main(String[] args) throws Exception {
 		// initialize
 		PDFSurface surface = new PDFSurface("./snippets.pdf", X_INCHES, Y_INCHES);
-		surface.setPPI( X_PPI, Y_PPI);
+		surface.setDPI( X_PPI, Y_PPI);
 		Context cr = new Context(surface);
 		
 		// call the snippets



More information about the cairo-commit mailing list