Hello,
It's great to see PyX-0.12 working well on my xp and windows 7 boxes!
When printing text along a path, I sometimes don't want to include the path so I
attempt to print a "zero width" path in the manner shown below.
The following code in PyX-0.12 prints a line when linewidth is set to zero
Any suggestions?
Thank you,
======================
from pyx import *
c = canvas.canvas()
p = path.path(path.moveto(-2, 0), path.curveto(-1, 0, -1, 1, 0, 1),
path.curveto(1, 1, 1, 0, 2, 0))
c.stroke(p, [deco.curvedtext("\PyX{} is fun!"),style.linewidth(0)])
c.writeEPSfile("textalongpath_test")
c.writePDFfile("textalongpath_test")
==============
Charles Bowman, Ph.D.
Dept. of Physiology and Biophysical Sciences
University at Buffalo
Buffalo NY 14214
Sherman 126
Tel: 716-829-3350
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user