gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] gnash/server shape.cpp


From: strk
Subject: Re: [Gnash-commit] gnash/server shape.cpp
Date: Mon, 5 Mar 2007 13:17:20 +0100

On Sat, Mar 03, 2007 at 05:54:25PM +0100, Udo Giacomozzi wrote:
> Hello strk,
> 
> Saturday, March 3, 2007, 4:58:25 PM, you wrote:
> s> The problem is that even shapes with *NO* fill , but only lines
> s> should be checked for containing a point.
> s> See DrawingApiTest.swf under misc-ming.all
> 
> It should only be checked if the point is on the (arbitrary sized)
> outline of a path. With other words, the test for m_fill0==0 *is*
> relevant.

> However, a function path::point_test() is completely nonsense as a
> path does *not* to be closed. A straight horizontal line (only one
> edge) is a fully valid path, regardless of m_fill0 and m_fill1.
> 

Argh, you're right !
So, shape_character_def should find closed paths itself... being
closed path sequences with *all*  paths having either a left a fill specified.
Sounds as we'd need more testcases for this.


--strk;




reply via email to

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