Need to develop code that will draw a graphical object (see attached graphic). To accomplish this, I need to determine the X,Y coordinates of the points for two circles (Start circle, End circle) for the Tangent lines on each side of the circle.
I can provide the following:
1. Start circle and End Circle Center X,Y
2. Circle Radius (pixels)
The most likely solution for this project is simply for the coder to provide me with the formula for calculating the points, given the input described above.
I would accept the coder creating a function/procedure that outputs these coordinates as a string of points. Example output of function:
These points would be interpreted as X1,Y1,X2,Y2,X3,Y3,X4,Y4 for the tangent line points.
I am using Visual Basic so would prefer in that language.
1) Formula/Function or Procedure that will provide the end result of X,Y points for Tangent Lines to the Two Circles.
2) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).