Rotating a graphic around a pivot

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
vtrbojevic
Posts: 14
Joined: Mon Dec 21, 2009 10:37 pm

Rotating a graphic around a pivot

Post by vtrbojevic » Wed Feb 03, 2010 10:51 am

Hi All,

I can rotate the polygon around any pivot by coordinate transformation, however I need to rotate a graphic (an ellipse) around a preset point within the ellipse (say between the focus and the centre). I have tried

RevRotatePoly the name of graphic "ABC", angle

but that did not work for some reason (I have Revolution Studio), and that probably assumes some pivot point. It seems crazy to convert an ellipse into polygon (points) just to be able to rotate it!

Any ideas?

regards,

Vladimir

Post Reply