Im creating a simple drawing application. When I draw a shape (line/rect/poly/beezier) I get some coordinates for each element.
What I need is a few functions that could do the following:
- Rotate a shape (enter degrees and the function returns the new coords)
- Flip shape vorizontally
- Flip Shape vertically
- Mirror shape
- Scale shape (e.g reduce the shape with 40%)
This code has to be written in VB6 and each feature should be in a function each. The function should return the new coordinates in an PointAPI array
For each shape I got all the coordinates for the shape and the centre point.