agree, I wish there was a tag you could wrap around a set of controls
eg. ELEMENT TAG HAS
Xscale + Yscale for %multiplicative changing co-ords
Wscale + Hscale for %multiplicative changing width/height
ScaleX + ScaleY which %scales co-ords and dimensions.
Xshift + Yshift for non multiplicative changing co-ords
Wshift + Hshift for non multiplicative changing width/height
<ELEMENT>
img: 0,0 w=200 h=100
img: 300,0 w=200 h=100
</ELEMENT>
Then I can change element tag to <ELEMENT ScaleX="200"> and i get
img: 0,0 w=400 h=100
img: 600,0 w=400 h=100
<ELEMENT>
img: 100,100 w=200 h=100
img: 700,100 w=200 h=100
</ELEMENT>
If I use ScaleX=200 on this it would use relative co-ordinates so lowest x+y co-ords are 100,100 so that would be considered as 0,0 for scaling then readjusted back.
img: 100,100 w=400 h=100
img: 1300,100 w=400 h=100
eg. ELEMENT TAG HAS
Xscale + Yscale for %multiplicative changing co-ords
Wscale + Hscale for %multiplicative changing width/height
ScaleX + ScaleY which %scales co-ords and dimensions.
Xshift + Yshift for non multiplicative changing co-ords
Wshift + Hshift for non multiplicative changing width/height
<ELEMENT>
img: 0,0 w=200 h=100
img: 300,0 w=200 h=100
</ELEMENT>
Then I can change element tag to <ELEMENT ScaleX="200"> and i get
img: 0,0 w=400 h=100
img: 600,0 w=400 h=100
<ELEMENT>
img: 100,100 w=200 h=100
img: 700,100 w=200 h=100
</ELEMENT>
If I use ScaleX=200 on this it would use relative co-ordinates so lowest x+y co-ords are 100,100 so that would be considered as 0,0 for scaling then readjusted back.
img: 100,100 w=400 h=100
img: 1300,100 w=400 h=100
Last edited: