[Xerte] drawing stuff with code

Dave Burnett d_b_burnett at hotmail.com
Mon Feb 15 14:45:19 GMT 2010



OK, no way to genericize this then.
I have to add a text icon, give it a target ID, then add the function call in a script underneath.
No way to say "the icon above me" without explicitly having assigned an ID?


----------------------------------------
> Subject: RE: [Xerte] drawing stuff with code
> Date: Mon, 15 Feb 2010 14:24:18 +0000
> From: Julian.Tenney at nottingham.ac.uk
> To: xerte at lists.nottingham.ac.uk
>
> 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
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469227/direct/01/


More information about the Xerte mailing list