grillot sebastien m'expliquait  (le 13.06.2005 11:40):

hello,
I have a little probleme... i don't understand the "thisNode" in the
code below...

             SVGOMPoint pt = new SVGOMPoint(nowToX, nowToY);
                  SVGMatrix mat = thisNode.getScreenCTM();  // elem -> screen
                   mat = mat.inverse();                  // screen -> elem
                   initialDragPoint = (SVGOMPoint)pt.matrixTransform(mat);

Eclipse said : "thisNode cannot be resolved".
These code is taken from http://wiki.apache.org/xmlgraphics-batik/DragTutorial
Hi,
IMHO thisNode it the node that inherits this behaviour i.e. the methods described there are to be implemented into the node you want to be dragged.


--
Jean-Christophe Arnu
Paratronic


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to