[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Re: point test
From: |
Bastiaan Jacques |
Subject: |
Re: [Gnash-dev] Re: point test |
Date: |
Sun, 4 Nov 2007 21:26:54 +0100 (CET) |
On Sun, 4 Nov 2007, Udo Giacomozzi wrote:
A hit_test() algorithm should not be hard to implement at all. The
most difficult part is probably handling of the quadratic bezier
curves, but with some math one should find the right formula for
these.
A bezier resolving implementation is already in render_handler_ogl.cpp
(which is derived from curve() in tesselate.cpp).
BTW, what is the problem with the current implementation?
The current implementation does not take into account that a shape may
be defined by several paths. Instead, it calls point_test() on every
single path in the shape definition. This leads to results that are
sometimes wrong.
Bastiaan
Re: [Gnash-dev] Re: point test, Sandro Santilli, 2007/11/04
- Re[2]: [Gnash-dev] Re: point test, Udo Giacomozzi, 2007/11/04
- Re: [Gnash-dev] Re: point test, Sandro Santilli, 2007/11/05
- Re[2]: [Gnash-dev] Re: point test, Udo Giacomozzi, 2007/11/05
- Re[2]: [Gnash-dev] Re: point test, Bastiaan Jacques, 2007/11/05
- Re[3]: [Gnash-dev] Re: point test, Udo Giacomozzi, 2007/11/05