logo       

Re: Picking more than one element at any location: msg#00129

Subject: Re: Picking more than one element at any location

Hi Olivier,

Olivier Beaudoux wrote:

I currently use GraphicsNode.nodeHitAt to pick an object at any
location. However, it returns the *first* node that is picked at the
given location. I would like a method that returns *all* nodes picked at
the given location (in front to back order). The SVGSVGElement interface
specified in the SVG DOM standard does such a picking but seems to be
not (yet?) implemented in Batik 1.5... So how can I pick all nodes at a
given location ?

   Implement the methods on SVGSVGElement? :)

   Seriously this would be the best way to do it.  The implementation
would probably be easiest to implement with a new method 'nodesHitAt'
that takes a List and appends the node if it 'hits'.

   The one thing I am not sure about is exactly what nodes should
respond to hit checks (like not 'g' elements, but yes for 'paths'
and probably 'image') you get the idea.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe