Computer Science Canada magnification |
Author: | beedub [ Sun Apr 27, 2003 2:30 pm ] |
Post subject: | magnification |
i need suggestions on how to do magnification... i was thinking that, maybe you could, make a delay then remake the smaller version of the picture. I was wondering if there was any easier way. |
Author: | Catalyst [ Sun Apr 27, 2003 2:40 pm ] | ||
Post subject: | |||
heres something i made quickly, there prob a better way to do it tho note: only works in version 4
|
Author: | Asok [ Sun Apr 27, 2003 2:41 pm ] |
Post subject: | |
Pic.Scale (picID, newWidth, newHeight : int) : int Pic.Scale is used to create a new picture by scaling (resizing) an already existing picture. Rotation can either be around a specific point in the picture (often used for rotating a picure in place) or just a general rotation. The newWidth and newHeight parameters are the desired width and height of the new picture. The newWidth and newHeight parameters may be negative, in which case the picture is mirror image (newWidth is negative) or upside-down (newHeight is negative) and the absolute values are used for the new width and height values. In order to scale a picture while retaining its original aspect ratio, scale with multiples of the original width and height. The width and height of a picture can be obtained using Pic.Width and Pic.Height. Enjoy |
Author: | beedub [ Sun Apr 27, 2003 3:32 pm ] |
Post subject: | |
so.. what i do is i set a procedure, for the original picture. Then that can be my pic.ID? |