A picture is worth 1000 words:
import pyx
from pyx.path import path, moveto, rlineto, closepath
c = pyx.canvas.canvas(attrs=[pyx.style.linewidth(1),pyx.style.linejoin(0)])
triangle = path(moveto(0,0), rlineto(6,0))
x,y = pyx.trafo.rotate(120).apply(6,0)
triangle.extend([rlineto(x,y),closepath()])
c.stroke(triangle)
c.writeEPSfile('c:/temp/temp.eps')
As you see, the corners are cut off of every vertex of
the triangle. (Current SVN.)
Cheers,
Alan Isaac
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user