gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash ChangeLog server/parser/shape_character_d...


From: strk
Subject: Re: [Gnash-commit] gnash ChangeLog server/parser/shape_character_d...
Date: Mon, 12 Nov 2007 10:16:16 +0100

On Mon, Nov 12, 2007 at 10:11:45AM +0100, strk wrote:
> On Mon, Nov 12, 2007 at 10:00:43AM +0100, Udo Giacomozzi wrote:
> > Hello strk,
> > 
> > Thursday, November 8, 2007, 7:30:01 PM, you wrote:
> > s> Can we provide two different point_test_local, one for
> > s> dynamic and one for static ? 
> > 
> > Rather I'd provide special path access methods for DynamicShape. Like
> > a method to get the really defined paths and a additional method that
> > closes the paths on-the-fly and returns it without modifying the
> > definition itself. The latter would make happy both renderers and
> > point test..
> 
> But would also mean a lot of memory copies. Closing on the usage side
> would just be an additional final check.
> What you ask is already available explicitly copying a path and calling
> ::close() on it (in case it defines a fill side and is dynamic).

Another problem (which is present already, since we're closign the path)
is that distance from the stroke should *not* be checked on the virtual
(added for closing) edge. So point_test (and maybe the renderer too)
should know what's a real edge and what's just a virtual one.

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]