Glaz wrote:
> Hi again,
> 
> I still have the following problem with a2dCanvasObject::IsHitWorld()
> after my recent update of wxArt2D:

I think something like this:

a2dHitEvent hitinfo( xw, yw, false, a2dCANOBJHITOPTION_LAYERS );

//THIS HERE
hitinfo.m_xyRelToChildren = true;

a2dCanvasObject* marker = original->ChildIsHitWorld( *ic, hitinfo );

But if not i would need to look at it a bit better :-)

curvegroup.cpp is has many ways to hittest.
e.g. in a2dCanvasXYDisplayGroupAreas::OnCanvasObjectMouseEvent


Klaas

-- 
Unclassified

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Wxart2d-users_dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to