Stretching graphics
Posted: Wed Jun 01, 2022 2:25 pm
I use CAD a lot. I also use LC a lot as a drawing program. I know it is not intended for this.
I needed to take a "stock" polygon graphic: and be able to continuously stretch it in either x or y under script control. No problem, I simply increased, say, the width of the graphic until it was the right size. But in doing so, the small horizontal segment at the botRight stretches proportionately: When what I want is this: I am able to get the bottomMost version in two ways, by simply increasing the width and adjusting the length of that trailing segment on the fly, or by changing the points of the graphic explicitly, as the stretching process runs.
But is there a way to simply stretch? I originally had thought that by, say, doubling the width of the starting graphic, that the "ends" would stay the same. In fact, doing so doubles the size of any and all horizontal elements. Fortunately it does not increase the line width. This is not really unexpected, as, after all, an angled graphic changes its angle as the width changes.
Just wondering...
Craig
I needed to take a "stock" polygon graphic: and be able to continuously stretch it in either x or y under script control. No problem, I simply increased, say, the width of the graphic until it was the right size. But in doing so, the small horizontal segment at the botRight stretches proportionately: When what I want is this: I am able to get the bottomMost version in two ways, by simply increasing the width and adjusting the length of that trailing segment on the fly, or by changing the points of the graphic explicitly, as the stretching process runs.
But is there a way to simply stretch? I originally had thought that by, say, doubling the width of the starting graphic, that the "ends" would stay the same. In fact, doing so doubles the size of any and all horizontal elements. Fortunately it does not increase the line width. This is not really unexpected, as, after all, an angled graphic changes its angle as the width changes.
Just wondering...
Craig