Distortion resizing group of vector graphics

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Distortion resizing group of vector graphics

Post by capellan » 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
ResizeLivecodeGraphicsv01.zip
LCResizeGroup.png

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3999
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: Distortion resizing group of vector graphics

Post by bn » Wed Oct 12, 2016 12:29 am

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

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: Distortion resizing group of vector graphics

Post by capellan » Wed Oct 12, 2016 4:11 pm

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

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Distortion resizing group of vector graphics

Post by jmburnod » Wed Oct 12, 2016 5:36 pm

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
https://alternatic.ch

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3999
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: Distortion resizing group of vector graphics

Post by bn » Wed Oct 12, 2016 6:14 pm

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

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: Distortion resizing group of vector graphics

Post by capellan » Mon Oct 17, 2016 11:21 pm

Probably, we have to test with LC 9 from now on! :D

Post Reply

Return to “Multimedia”