Jae-Joon Lee wrote: >> I believe you are looking for the scanline boolean algebra -- search >> the antigrain demo page >> >> http://www.antigrain.com/demo/index.html >> >> for scanline_boolean.cpp. Of course, we would need to support the >> other major backends too.... >> >> > > I'm not sure if scanline_boolean does what I want (but I have to admit > that I haven't looked at its code carefully yet). Do you know if it is > possible to stroke along the union of the two paths (this is what I > want)? My impression is that scanline thing is for filling the path. > Anyhow, I'll take a more look. > You should probably be able to take the union of two stroked paths -- which is not a geometry package like lib2geom would do, but it should be good enough/fast enough.
Of course, any solution will have to work with all backends, not just Agg. > >> This appears to be LGPL, so we will not be using it in the main distro. >> >> > > Yes, it's LGPL. > And I didn't mean to include it in mpl. > Anyhow, I think I'll go with the first method for the moment. > It sounds like this method should also be the most portable between backends. I doubt efficiency is a concern, because there's a real upper limit on the number of these annotations before things become illegible. Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel