Jamie Bullock wrote:
> On Wed, 2008-02-27 at 21:32 -0800, Christopher Barker wrote:
>> * Use GraphicsContext, to support full alpha blending.

> I had a brief try at adding GC support right across FC, but I hit a few
> stumbling blocks (can't remember precisely what they were), but it's
> definitely doable.

yes, it sure is. One issue is performance though -- apparently drawing 
things like lots of really big polygons is substantially slower with GC 
that a DC, so we may want to use both -- which complicates things.

> If there's no major rush with this, I'm quite happy
> to keep working on it, and send across tests and patches to the list for
> perusal.

That would be great. I may start a branch, as I think there is a lot of 
re-factoring that should happen at once, and I want to be free to break 
the API.

> * Add SVG read and write support
> 
> This is an ambitious one, but I think if GCs were supported nicely
> across the library, then FC could at least support a subset of SVG, and
> this would be a very nice thing to have.

I agree -- this has come up before, and this is my take:

Supporting SVG in the general sense is far too ambitions a goal. 
However, I'd like to have some persistence mechanism, so why not SVG? 
The goal would be that FloatCanvas would generate valid SVG, and it 
could read the SVG it produces, but probably not much else.

I know next to nothing about XML or SVG -- so I'm going to need help 
here. We should also look at the work done by someone on the wxPython 
list (Chris Mellon, maybe) on an SVG renderer.

One thing though -- I kind of see SVG as an add-on, rather than integral 
to FloatCanvas. For example, I have need for a FloatCanvas app to read 
and write various geo-spatial data formats (shapefiles, BNA files, etc), 
so I don't want a particular file format to be core to FloatCanvas.

hmm -- time to capture some of this discussion on the Wiki.

-Chris





-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

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

Reply via email to