[cairo-commit] pycairo/examples warpedtext.py,1.5,1.6

Steve Chaplin commit at pdx.freedesktop.org
Thu Apr 7 20:24:51 PDT 2005


Committed by: stevech1097

Update of /cvs/cairo/pycairo/examples
In directory gabe:/tmp/cvs-serv20056/examples

Modified Files:
	warpedtext.py 
Log Message:
SC 2005/04/08

Index: warpedtext.py
===================================================================
RCS file: /cvs/cairo/pycairo/examples/warpedtext.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- warpedtext.py	7 Apr 2005 02:09:57 -0000	1.5
+++ warpedtext.py	8 Apr 2005 03:24:49 -0000	1.6
@@ -57,8 +57,8 @@
 ctx.set_rgb_color(1,1,1)
 
 # spiral text
-ctx.select_font("Sans")
-ctx.scale_font(80)
+ctx.select_font_face("Sans")
+ctx.set_font_size(80)
 ctx.move_to(0, 0)
 ctx.text_path("pycairo - " + "spam " * 5)
 def spiral(x, y):




More information about the cairo-commit mailing list