Post Reply 
How to autoscale a shape?
12-30-2014, 01:48 PM
Post: #1
How to autoscale a shape?
Hello,
I just completed a program that outputs some points that i'd like to draw on a GROB (or whatever name we'd like to call them in the PRIME :+)).

Let's say that i do not have the control of the range of these numbers before the output.

How can i autoscale these numbers in order to represent them on a plane?
I found a scale factor for the X range and then a scale factor for the Y range but I loose the height/width ratio of the drawing.

Which is the right procedure to find a scale factor for both X and Y axis maintaining the correct ratio between the two axis?

Thanks

Giancarlo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to autoscale a shape? - Giancarlo - 12-30-2014 01:48 PM
RE: How to autoscale a shape? - Han - 12-30-2014, 03:21 PM
RE: How to autoscale a shape? - Giancarlo - 12-30-2014, 06:34 PM



User(s) browsing this thread: 1 Guest(s)