[Xerte] Re: drawing stuff conundrum
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Mon Feb 28 12:31:48 GMT 2011
Call clear() first.
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 24 February 2011 23:06
To: Xerte list
Subject: [Xerte] drawing stuff conundrum
<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/20110228/6d4fa4d7/attachment.html>
More information about the Xerte
mailing list