Craig Boyd gifted us with another brilliant and FREE article, published in January 2006 at FoxTalk 2.0, from PinPub. There he explains many cool features, such as Pens and Brushes, used for drawing all kinds of shapes.
Many kinds of Gradients, introducing the PathGradient, LinearGradient and Texture Brushes, that were not included in _gdiplus.vcx, but can be easilly accessed through direct calls to the GDI+ Flat API.
Shows also how to use and create all types of Pens, that can be generated from brush objects. You can also create compound pens that can be used to draw multiple lines simultaneously. Dash Caps and Line Styles are also covered.
But there's more !
He brings a great class, that permits to render directly on a form and not paint over the controls, avoiding the flickering effects.
Greatly documented, brings also some cool examples in the attached files.
You can access the article directly from here:
GDI+ on VFP 9 Forms: Working with Primitives
You Might also want to check another great free article from Craig at FoxTalk 2.0:
GDI+ on VFP 9 Forms: Solving the Paint Problem
Many Thanks to Craig and to FoxTalk 2.0 !!!