I need a function in VB6 that clip a polygon by a rectangle boundary.
There will be 2 input value and a output.
1) Input 1 is the vertices of the polygon
2) 2 sets of points to define the rectangle boundary
3) The result is the clipping polgyons inside the boundary.