On Mon, 2008-03-03 at 09:49 -0800, Christopher Barker wrote: 
> Jamie Bullock wrote:
> > OK, that's done now. See
> > http://morticia.cs.dal.ca/FloatCanvas/wiki/AlphaCircle
> 
> great, thanks!
> 
> > Feel free to amend as appropriate.
> 
> Can I remove the "design flaw" comment? ;-)

OK, I just removed it, but don't forget *you* added that note, when I
did the SmoothLines how-to, I just copied and pasted it across! Do you
want the 'design flaw' bit taken out of the SL how-to also?

> Why are the images black and white? That's a bit odd.

Hm.. they're greyscale not b&w. Do you mean that the demo would be
clearer if I used colour?

> 
> > I wonder if this (creating a some
> > more Mixins) might be a good starting point for integrating GC drawing
> > into FloatCanvas.py?
> 
> Yes, it would -- or just biting the bullet and making a commitment to GC
> across the board.

It's a difficult call. I think the advantage of doing it this way is
that you can add extra functionality to FC that takes advantage of the
extra advantages of GC and path-based drawing without having to worry
about having a consistent interface for everything. There are things you
can do with GC that simply can't be done with DC as we've already
explored. 

OTOH:

- GC _does_ incur a performance hit, and it would be nice to have the
option of using DC in performance critical situations. For example in my
Braun software (http://sourceforge.net/projects/braun), I have recently
added the option of using anti-aliased lines. Using them increases load
by ~30%. Anti-aliasing is enabled by default, but setting a flag in a
config file turns it off it your computer can't cope.

- If we work on supporting DC and GC, it will force us to provide an
architecture that supports multiple backends, and therefore make it
easier to add additional backends (SVG) in the future. (... or at least
that's the theory... ;-)

Jamie

-- 
www.postlude.co.uk

_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to