Hi,

On 21.09.06, Joerg Lehmann wrote:
> > > So I would say the following. Currently the canvas is the PyX way to
> > > "annotate" objects with attributes like
> > > 
> > >    ap = canvas.canvas(p, attributes)
> > 
> > I don't understand this. We have
> > 
> >     dp = deco.decoratedpath(p, strokepath=..., fillpath=...,
> >                             styles=..., strokestyles=..., fillstyles=...,
> >                             ornaments=...)
> > 
> > but I think this is something we should not emphasize too much
> > (although it can be used from the outside). And it has nothing to do
> > with a canvas (except that it creates a canvas item out of a
> > mathematical path object). But all this is quite internal stuff. And
> > (at least at the moment) there is no dp.set() method. 
> 
> Yes, a decorated path is not the right thing to do this kind of things.
> As you said, it's much too low-level to be used by normal users.
> Wrapping things in a canvas seems reasonable though and I don't
> understand your problem with that ;-)

Ahh, ok. I see. You want to use the canvas as a wrapper for the
decorated path. Now it makes sense what you wrote. And right, we have
not yet decided what a canvas could stand for in the future and how
its signature could look like. Still, it looks ill-designed to me for
the moment, but I have to think about this one. So don't take it
serious that I don't like it at the moment.

Anyway, we might already leave the points originally addressed by
Andreas mail. I may not have been that wrong with my original reply.
Lets see ...


André

-- 
by  _ _      _    Dr. André Wobst
   / \ \    / )   [EMAIL PROTECTED], http://www.wobsta.de/
  / _ \ \/\/ /    PyX - High quality PostScript and PDF figures
 (_/ \_)_/\_/     with Python & TeX: visit http://pyx.sourceforge.net/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to