Page 1 of 1

[Gag] Moving 3-angle

Posted: Thu Aug 30, 2007 7:37 pm
by newdep
testing drag/drop/move with canvas..

here a demo...

Some small issue's i came up with , see the postings in this forum.
because i think this demo could be 50% smaler ;-)

(load "http://www.nodep.nl/downloads/newlisp/3angle.lsp")


Norman.

Posted: Fri Aug 31, 2007 8:16 am
by newdep
updated the version...its now 99%..

(load "http://www.nodep.nl/downloads/newlisp/3angle.lsp")

Now the squares are always on top and the polygon does
endup in the middle of the squares..

Posted: Fri Aug 31, 2007 11:57 am
by newdep
updated the version...its now 100%..

Posted: Fri Aug 31, 2007 8:33 pm
by newdep
aaa last post... ;-) updated again...v 2.7


1 thing I keep on bugging with is... How do I get the Stack-Order right with
the Tags??

I need to have the Tag I press to be always on top of the rest..

Its a simple pop and push probably but cant get it working ;-)

Norman.

Posted: Fri Aug 31, 2007 9:32 pm
by Lutz
Tagged objects are stagged in the order they are created, you could do a gs:delete-tag and then do a gs:draw-xxx or gs:fill-xxx again, to make them come out on top.

Lutz