Circle Color Gradient
Version Compatibility: Visual Basic 6, Visual Basic 5
This snippet uses the GradientFillTri API function to draw a circle color gradient. As you can see by running the comparison function included, it results in a smoother gradient, with no dithering, as compared to the "standard" VB way of doing this, which would be to use the Circle method.
Instructions: Copy the declarations and code below and paste directly into your VB project.