rehello,

On 18.04.08, Andreas Matthias wrote:
> cl = path.path(path.moveto(-a,-a),
>                path.lineto(a,-a),
>                path.lineto(a,a),
>                path.lineto(-a,a),
>                path.closepath())
> 
> # protected area
> cl.append(path.arcn(0,0,2,360,0))

Try instead

  c1 += path.circle(0, 0, 2).reversed()

The offending line was the connection between the endpoint of the
first part of the path (after closepath) and the beginning of the
"arcn". Note that arcn is a strange pathelement which adds the
necessary lineto.
My replacement implies that a moveto is used instead.

Michael

-- 
Michael Schindler
  Laboratoire de Physico-Chimie Théorique.
  ESPCI. 10 rue Vauquelin, 75231 Paris cedex 05, France.
  Tel: +33 (0)1 40 79 45 97    Fax: +33 (0)1 40 79 47 31
  http:  www.pct.espci.fr/~michael

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to