On Mon, Nov 12, 2007 at 10:20:59AM +0100, Udo Giacomozzi wrote: > Hello strk, > > Monday, November 12, 2007, 10:11:45 AM, you wrote: > s> But would also mean a lot of memory copies. Closing on the usage > s> side would just be an additional final check. > > A cache would do which would be used only when necessary (when the > shape is really not closed). Or probably there are other C++ tricks > that would do.
Maybe we can remember wheter we changed the shape due to forced closing or not, and if we did we can wipe out the last edge on next editing. Still the stroke thing remains, unless we always close using an new path (with m_new_shape=false and lineStyle=0). More tests in DrawingApiTest.as (second page) would help bringing this further. --strk; _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit