how to use the scale geometry property of an object?

Tiemo Hollmann TB toolbook at kestner.de
Tue Jun 12 06:24:23 EDT 2018


Hi,

I have a full-window image and need dozens of clickable transparent polygons
on top of it, shaping details of the image. My idea was, that all these
polygons could be resized and positioned automatically by the scaling
property of the object, when resizing the stack.

 

I have never used the geometry propertry section of an object to scale it
and I don't see actually how it works.

My idea was, that when activated, the object would scale automatically, if I
resize the stack, but nothing happens with the object. Obviously it's not
that easy, as I thought, or I am missing something vital.

 

I also tested to resize each object in the resizeStack handler by script by
the resized proportions of the stack, but this gives very inaccurate results
because of rounding the small factors of all the small resize steps, while
resizing a stack by dragging the window. 

 

Any hint, on how to use the scale property of an object?

 

Thanks

Tiemo

 

 

 

 




More information about the use-livecode mailing list