We have a need to re-size 2D polygons in either X or Y-axis using c++. I did some search and read that re-sizing in one direction will lead to unpredictable results and is not feasible. I understand that may apply to non-manhattan polygons (polygon with non-90 edges). But will there be a problem resizing manhattan polygons or paths in one dimension? For e.g., if it is simple rectangle, I should be able to increase either width or height. In case of manhattan polygons or paths, can we break it into rectangles and re-size each of them in one dimension?
I have looked at Boost polygon and Clipper and I do not see any API to resize polygons in either X or Y only. Is there any software that supports this or any pointers to implement this is appreciated?