Good afternoon Alan,

On 24.02.08, Alan Bromborsky wrote:
> Here is my test code:
> 
>     c = canvas.canvas()
>     ARC = path.arc(0.0,0.0,1.0,45.0,180.0)
>     c.stroke(ARC)
>     c.writeEPSfile('dlines.eps')
> 
> and here are the error messages:

and here is the solution:

path.arc is a "path element" which is not a full path and cannot be
stroked. Use instead

  ARC = path.path(path.arc(0.0,0.0,1.0,45.0,180.0))


Michael



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to