Foxite.COM Community Weblog

Foxite.COM Community Weblog - free weblog service for the Visual FoxPro Community.
Welcome to Foxite.COM Community Weblog Sign in | Join | Help
in
Home Blogs Forum Photos Forum Archives

VFP IMAGING



NEW VERSION OF GPIMAGE2

After some requests, I'm sending a new version of GPIMAGE2, an adapted class from the original GPIMAGE class from Alexander Golovlev.

This new version adds 3 new features to the previous version:
Control Smoothing Mode, Interpolation Mode and a Gradient Brush.

GDI+ originally offers 6 kinds of Linear Gradient brushes, and many possibilities for path gradient brushes, but to update GPIMAGE2 is not a priority any more because I think that the GdiPlusX library brings much more value, and is compatible with the .NET "System.Drawing" namespace.

So, if you still didn't upgrade to VFP9, you can download this new version, and play with some gradients.

I've included 3 samples that create gradients. You'll find them in the "EXAMPLES" folder.

BRUSHESGRADIENT.PRG    Creates some shapes using gradients
GRADIENTFORM.SCX    Creates a sample form with gradient effect
GRADIENTFORM2.SCX    Creates a sample form with gradient effect, allowing to change the colors and the gradient direction duruing execution

Another new sample, SMOOTHING.SCX, from Rafael Lippert, demonstrates how to control the smoothing mode if images.

Enjoy !

 

GPIMAGE2 GDI+ Class

Published Tuesday, February 06, 2007 11:25 AM by cesarchalom
Filed Under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Ana María Bisbé said:

Versión en Español de este artículo en / Spanish version at http://www.portalfox.com/article.php?sid=2387
July 24, 2007 7:29 PM
 

Cesar Chalom said:

This post is for people that still did not upgrade to VFP9.
As Ken Murphy said in one of his latest...
October 31, 2007 5:04 PM
 

Cesar Chalom said:

This post is for people that still did not upgrade to VFP9.
As Ken Murphy said in one of his latest...
October 31, 2007 5:05 PM

What do you think?

(required) 
(optional)
(required)