[cairo-commit] pycairo/examples/cairo_snippets/snippets libsvg.py, 1.1, 1.2 __init__.py, 1.1, 1.2

Steve Chaplin commit at pdx.freedesktop.org
Fri May 20 04:07:33 PDT 2005


Committed by: stevech1097

Update of /cvs/cairo/pycairo/examples/cairo_snippets/snippets
In directory gabe:/tmp/cvs-serv19127/examples/cairo_snippets/snippets

Modified Files:
	libsvg.py __init__.py 
Log Message:
SC

Index: libsvg.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/cairo_snippets/snippets/libsvg.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- libsvg.py	6 Apr 2005 13:54:10 -0000	1.1
+++ libsvg.py	20 May 2005 11:07:31 -0000	1.2
@@ -5,7 +5,7 @@
 svg_cr = cairo.svg.Context()
 
 svg_cr.parse ("data/home.svg")
-w, h = svg_cr.size
+w, h = svg_cr.get_size()
 cr.scale (1.0/w, 1.0/h)
 svg_cr.render (cr)
 

Index: __init__.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/cairo_snippets/snippets/__init__.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- __init__.py	6 Apr 2005 13:54:10 -0000	1.1
+++ __init__.py	20 May 2005 11:07:31 -0000	1.2
@@ -15,7 +15,7 @@
 
     svg_cr = cairo.svg.Context()
     svg_cr.parse (filename)
-    w, h = svg_cr.size
+    w, h = svg_cr.get_size()
     ctx.save()
     ctx.scale (1.0/w, 1.0/h)
     svg_cr.render (ctx)




More information about the cairo-commit mailing list