[Xerte] drawing stuff with code
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Mon Feb 15 14:24:18 GMT 2010
They should just do that:
Add a text icon to draw into, id=myIcon
SCR:
myDraw = myIcon.addDraw(0,0,400,400);//adds the drawing area
myDraw.freehand();
//now you can draw in that region with the mouse...?
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Monday, February 15, 2010 2:22 PM
To: Xerte list
Subject: [Xerte] drawing stuff with code
The drawing editor and I don't get along, so I'm trying to set up a draw
function I can call with parameters.
What is the best way to handle creating code-drawn objects so they erase
on page changes and I can target them for erase()?
Cheers,
Dave
_________________________________________________________________
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469226/direct/01/________________________
_______________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
More information about the Xerte
mailing list