"The Quad" of image

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
TR-i
Posts: 18
Joined: Fri Jul 21, 2006 4:06 am

"The Quad" of image

Post by TR-i » Sat Jul 29, 2006 1:05 am

I'm moving (or attempting to) a massive client/server VPN from Director to Revolution. One of the things I miss is the ability to move the corners of an image independently. 'Quads' made it possible to do reasonable simulations of Doom-style rooms with real-time rotating views. The current rotation implementation does not even allow the result to be resized.

For that matter, I'm surprised that images can't also be in the clip library. If you want to reuse the same image (say, for a series custom buttons), you have to create a group for each instance and you lose control over many image properties in the process. It would be better if an image control could get it's content from an offscreen library.

bfisher
Posts: 7
Joined: Mon Jan 22, 2007 7:39 pm

Reusing images

Post by bfisher » Sun Feb 18, 2007 8:42 pm

If you want to reuse an image for a series of buttons, it is probably easier to use icons. If you wanted to reuse an image, look up its id. Then you can take any button and say "set the icon of btn mybtn to imgid."
These icons are not restricted by size.

There is limited support for rotating images with the "angle" property. If you want to change the image permanently I think there is a rotate command.

Post Reply