In addition to my previous posting about scrolling an entire card, I am interested in how to accomplish a zoom in and out for a card full of vector graphics.
Any wisdom in that area?
Thanks,
Zoom control for cards full of vector graphics
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Zoom control for cards full of vector graphics
Alex Adams
(a)2 Technology Parnters
alex@a2technology.com
www.a2technology.com
www.promisstudio.com
831-726-8013
(a)2 Technology Parnters
alex@a2technology.com
www.a2technology.com
www.promisstudio.com
831-726-8013
Hi Alex,
First, write a function that recalculates the points of a polygon or the rect of other graphics according to a reference point and a scale. Next, set the lockScreen to true and refresh the points of all polygons (the points is a property) and reposition all other graphics with their new rects. Finally, unlock the screen with a nice fading effect ;-)
Best,
Mark
First, write a function that recalculates the points of a polygon or the rect of other graphics according to a reference point and a scale. Next, set the lockScreen to true and refresh the points of all polygons (the points is a property) and reposition all other graphics with their new rects. Finally, unlock the screen with a nice fading effect ;-)
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode