Page 1 of 1

Distortion resizing group of vector graphics

Posted: Sun Oct 02, 2016 1:47 am
by capellan
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
ResizeLivecodeGraphicsv01.zip
Stack with script to resize controls
(4.45 KiB) Downloaded 132 times
LCResizeGroup.png
Screenshot of stack ResizeLivecodeGraphicsv01

Re: Distortion resizing group of vector graphics

Posted: Wed Oct 12, 2016 12:29 am
by bn
Hi Alejandro,

I can not get the graphics distorted by repeatedly reszing the stack.I tried many times. Do you see the distortion in LC 8.1.1?

Kind regards

Bernd

Re: Distortion resizing group of vector graphics

Posted: Wed Oct 12, 2016 4:11 pm
by capellan
No, I have been testing in 8.0.2 and 7.1.4.
After I test this stack in 8.1.1, I will post again

Re: Distortion resizing group of vector graphics

Posted: Wed Oct 12, 2016 5:36 pm
by jmburnod
Hi Alejandro,
I tested it with 7.1.4 and 8.1.1.
I don't see distorsion after many resizing
Salut Bernd
Did you see some distorsions with 7.1.4 ?
Kind regards
Jean-Marc

Re: Distortion resizing group of vector graphics

Posted: Wed Oct 12, 2016 6:14 pm
by bn
Salut Jean-Marc,

I only tested in 8.1.1 because I figured it would be the version to go after.

bonne soirée

Bernd

Re: Distortion resizing group of vector graphics

Posted: Mon Oct 17, 2016 11:21 pm
by capellan
Probably, we have to test with LC 9 from now on! :D