I have developed an app that creates graphical objects. I am having problems translating the screen coordinates of polylines/polygons after resizing the object. The following is a general discussion of the implementation. Poly objects are created by collecting points with clicks the dbl click to create the object. The poly object coordinates are stored in an array. The user can select the object and move it. Each object move is followed by an update of the screen coord's by subtracting/adding the difference X,Y based on the move. Now I am trying to resize the object, translating the original coordinate of the object to the new coordinate based on the size of the bounding rectangle of the object. I have successfully implemented proper resizing when the bounding rectangle is resized by moving the right side to the left, thus shrinking from the right to left. However, all attempts to resize by pulling the bounding rectangle down from the top (changing the Y coord) or resize by pulling the rect to the right (changing the X coord) result in erroneous results.
## Deliverables
1. Would like to have any assistance anyone is willing to offer such as example code, algorithms etc. 2. I will provide sample code if necessary to further describe the situation. I am willing to pay for this assistance if necessary. HELP PLEASE!!!
## Platform
Windows XP Using VB6 to develop.