Distortion resizing group of vector graphics
Posted: Sun Oct 02, 2016 1:47 am
Hi All,
Download the compressed stack attached to this message:
ResizeLivecodeGraphicsv01.livecode
Some years ago, I made this live resizing script for my stack
PenTool http://www.capellan2000.000space.com/?i=1
and now, I am trying to use this script for more general purposes,
like resizing all controls of an Interface... but after repeated
use, the script just distorts the size and position of all controls.
In the sample stack, these controls are a group of vector graphics,
but could be a group of fields, images, buttons, etc...
Could you share some ideas about how we could make this script
mathematically more robust to resize all controls without distorting
their size and position after repeated use?
Thanks in advance!
Alejandro
Download the compressed stack attached to this message:
ResizeLivecodeGraphicsv01.livecode
Some years ago, I made this live resizing script for my stack
PenTool http://www.capellan2000.000space.com/?i=1
and now, I am trying to use this script for more general purposes,
like resizing all controls of an Interface... but after repeated
use, the script just distorts the size and position of all controls.
In the sample stack, these controls are a group of vector graphics,
but could be a group of fields, images, buttons, etc...
Could you share some ideas about how we could make this script
mathematically more robust to resize all controls without distorting
their size and position after repeated use?
Thanks in advance!
Alejandro