point = (TinyPoint)theEvent.data;
// System.out.println("linkEvent: (" + point.x +", "+ point.y+") ");
document = canvas.raster.document;
// See if we have any node with link under (x,y)
SVGNode hitNode = document.root.nodeHitAt(canvas.raster,point);
if(hitNode == null)
{
// System.out.println("linkEvent: hitNode is not found");
break; // nothing to do
}
// System.out.println("linkEvent: hitNode is found" + hitNode);
SVGNode linkNode = hitNode.seekAElem();
if(linkNode == null)
{
// System.out.println("linkEvent: linkNode is not found");
break; // nothing to do
}