I have one program in VB6 that generates a list of line coordinates for letters. They are the vertices on a polygon for the letter. The letter A is shown here with the red circles. The red marks are where each vertice is. I can increase or decrease these based on the precision setting.
Here is what I need. I need a second list of coordinates that outline this set by a given space. In otherwords, if I pass a spacing value of 20, then I want a new set of coordinates to go all the way around this letter but 20 out (Whatever the scalemosde is. For my test it is twips but should work for pixels also). But here is the problem - In areas like the top of the A where there is a curve and alot of vertices, the precision needs to stay they same. More vertices can be included if needed but no less.
The first set of lines is for previewing the letter. The second set is spaced out by the width of a router bit and a router will follow this outter line. Its an offset line for the bit width.
Attached is a list of coordinates for testing. Notice the starting coordinate always is the sme as the ending to complete the polygon. This list is only for testing. It must work for any set of coordinates such as an image, etc.
Woops, almost forgot. In the list I marked the outside coordinates the the inside set. The inside set should have the new set created inside of the exisitng line, not further out. So if its an outside list, create a new list of coordinates further out based on the passed spacing value. If the set is marked inside, the move the new set further inside.
I need this immediately. The picturebox has a Line method for drawing lines so you can set your new set of coordinates. Send me a new set for the ones I have posted tog et accepted faster showing you can do it. ONLY in VB6.0.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).