Hello,
On 13.08.06, Simon Burton wrote:
[ snip ]
> x1 = x_pt #-0.5*dx*linelength_pt*size
> y1 = y_pt #-0.5*dy*linelength_pt*size
> x2 = x_pt+1.0*dx*linelength_pt*size
> y2 = y_pt+1.0*dy*linelength_pt*size
> privatedata.arrowcanvas.stroke(path.line_pt(x1, y1, x2, y2),
> privatedata.lineattrs +
> [deco.earrow(privatedata.arrowattrs, size=self.arrowsize*size)])
>
> Can I suggest that these numbers (-0.5 and +0.5, which I changed to 0.0 and
> 1.0)
> become parameters ?
Seems reasonable. If you'd have a good name for the new parameter, it
would be even easier to add this feature.
Jörg
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user