Vector Drawings with Visual Foxpro and GDI+
Last October my friend Cesar Chalom asked me to prepare a sample project utilizing some pure GDI+ code in order to demonstrate it in the Brazilian's Conference participants. I kept my promise and I did prepare a simple Visual Foxpro demo project with "drawing" functionality. Since then I have received many emails from participants of the conference asking to publish this demo project.
So here it is... In this laconic project you will see the amazing capabilities of the VFP handling large complex mathematical calculations in "a speed of light" . In this demo project you will find also, two classes for trigonometric and polygon calculations. Very useful indeed. If your project needs any kind of 2D drawing don't look elsewhere.

Click inside a polygon and voila!. Since you have finished designing your window you can export your shape into an XML file!
Tip: You can browse the .\Files\Shapes.dbf and modify the points of the existing polygons. Don't hesitate to add new polygons (like the previous ones) but be careful to have closed shapes.
Dowload Project
Any feedback on this demo project would be greatly appreciated.
VFP Can Do Anything You Can Imagine...