[Xerte] drawing stuff conundrum

Dave Burnett d_b_burnett at hotmail.com
Thu Feb 24 23:05:46 GMT 2011



<pg>
 <int>
  <rs> //onPress erase0 exit 0
    <text> //{icon.parentNode.index()}
    <scr>


User clicks on an object, the event is triggered and the text icon is displayed.
The scr draws a line on the text object the first time it is clicked. 
icon.previousSibling.clip().lineTo(end_x, end_y);

The second time it is clicked, the text persists but the drawn line disappears.

??
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110224/d741a684/attachment.html>


More information about the Xerte mailing list