Resizing an image with min and max limits

Harald Müller harald at etcpp.de
Sat Mar 5 05:32:19 EST 2011


Hi Eric,

the function "resizeGraphic" in the demo will resize the graphic,
here you could add your image limits.

Best regards,
Harald.

| Harald Müller (app.etcpp.de)
| Theodor-Körner-Straße 4, D-97072 Würzburg
| Telefon 0931-8049170






Am 05.03.2011 um 08:58 schrieb Eric Peyron:

> Hi all, 
> 
> I have created an app with multi-touch resizing of images using the "How do I implement a multi-touch pinch motion?" lesson, but I can't seem to set limits to the resizing. What lines could I add to the code of the sample stack from this lesson to have a min size and and a max size for my image?
> 
> Thanks in advance, 
> Eric
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 





More information about the Use-livecode mailing list