Page 1 of 1

refresh of canvas gadget drawing vector data

Posted: Sat Dec 10, 2011 6:14 pm
by ehowington
Tying to see if its even possible to draw vector data within a canvas and have the ability to pan around the image and refresh this even during movement?

Re: refresh of canvas gadget drawing vector data

Posted: Sat Dec 10, 2011 7:53 pm
by marc_256
Hi ehowington,

If you mean Vector drawing on canvas gadget,
I do it via 2D/3D stored database.

see example here
http://www.purebasic.fr/english/viewtop ... 13&t=48447

You need to use startdrawing(canvasoutput(#canvas)), line; text, ... stopdrawing().

marc,