This would only work for an object who's height and width are the same.
Objects like a rectangle on it's side will get wider at a faster rate
than they will get taller. That's where the math kinda runs away from
me (and when fond memories of me doodling in 6th grade math come to
mind).
On Sep 21, 2004, at 2:22 PM, Ray Horsley wrote:
Simon,
Wouldn't this be just a matter of making sure you increase or decrease
the object's width the same number of pixels its height is increased
or decreased for every change in size that's made, or am I not
understanding your question?
Ray Horsley
Developer, LinkIt! Software
On Monday, September 20, 2004, at 02:46 PM, Simon Lord wrote:
I have an abject on my card which can be scaled at runtime, the next
step is to get this object to scale proportionally using it's current
H x W as the aspect ratio when the shiftKey is down.
So if the object is currently shaped like a rectangle, when I hold
the shiftKey down and continue dragging the object will maintain the
same aspect ratio at the time I held the shiftKey down.
Unfortunately I'm at a lose at to where to even start the math on
this.
Sincerely,
Simon
_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard
_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard
Sincerely,
Simon
_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard