Title: Message

Hi!

Thank you (Thomas DeWeese,  Tonny Kohar) for answers on my previous questions. Now I have a next portion. :)

 

I need to handle the drag event and mouse clicks beyond of elements. As far I understand there is two possible solutions:

 

1)      To handle AWT drag event and perform transformation between screen and user coordinates. In this case, how can I do this transformation with considering viewBox too?

2)      Create invisible rectangle over all screen and handle DOM MouseMove event over it. In this case, I should protect this rectangle against pan in order to insure his positioning strictly over the whole screen. I achieve this by using _javascript_ for standalone SVG documents and Adobe SVG Viewer. Should I use the same approach in case of Batik? What is the performance of this solution?

 

So, which solution is better from standpoint of performance?

 

Thank you in advance.
 
 
 

___________________________________________
 
Dmitrij SAKARA

STI IPR LICP
Swiss Federal Institute of Technology (EPFL)
Me - Ecublens
CH-1015 Lausanne
Switzerland
 
Tel. : +41 (0)21 / 693 5913
Fax. : +41 (0)21 / 693 3509

e-mail : [EMAIL PROTECTED]

My office at EPFL: http://map.epfl.ch/?room=MEA1382
___________________________________________

 

Reply via email to