[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
- Previous message: [cairo-commit] pycairo ChangeLog,1.71,1.72
- Next message: [cairo-commit]
pycairo/cairo pycairo-private.h, 1.9, 1.10 pycairo.h,
1.13, 1.14 pycairo-font.c, 1.8, 1.9 pycairo-context.c, 1.27,
1.28 pycairo-matrix.c, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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):
- Previous message: [cairo-commit] pycairo ChangeLog,1.71,1.72
- Next message: [cairo-commit]
pycairo/cairo pycairo-private.h, 1.9, 1.10 pycairo.h,
1.13, 1.14 pycairo-font.c, 1.8, 1.9 pycairo-context.c, 1.27,
1.28 pycairo-matrix.c, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list