Rotating images

Randall Reetz randall at
Fri Apr 24 21:10:17 EDT 2009

Wow, that is easy!
How about warping an image by repositioning its four corners?  Lets say an image is in a polygon with four points (as coordinate pairs).  Can you change the posible of those points to cause that image to be thusly warped, twisted, skewed, or tipped back in space (three point verticies)?  Randall

-----Original Message-----
From: "Scott Rossi" <scott at>
To: "Revolution Mail List" <use-revolution at>
Sent: 4/24/2009 5:49 PM
Subject: Re: Rotating images

Recently, Randall Reetz wrote:

> Can one rotate images by degree or fraction of degree?

You should be able to rotate an image simply by using:

  set the angle of img "myCoolImage" to 45

The docs say the numeric value is an integer so like most position-based
things in Rev you can only use whole numbers, no fractions.  Until Rev gets
subpixel positioning, we won't be able to accomplish fine positioning of
graphics and images.


Scott Rossi
Creative Director
Tactile Media, Multimedia & Design

use-revolution mailing list
use-revolution at
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list