Rotating images

Randall Reetz randall at randallreetz.com
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 tactilemedia.com>
To: "Revolution Mail List" <use-revolution at lists.runrev.com>
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.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design



_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the Use-livecode mailing list