Wednesday, August 15, 2007
An updated version of the GDIPlusX library has been posted

It has taken a while, but the GDIPlusX library is finally converted to be PRG based and has been upgraded from Alpha to Beta status. The new 1.00b version can be downloaded from here. But you should always check the GDIPlusX home page for the latest version.

There were several advantages to converting the library as I described in a message on the VFPX discussion board. The library is faster, smaller and more stable than before.

Special thanks to Cesar Chalom. Most all of the bug fixes and new features were added by him over the past couple of months while I converted the library.

We will hopefully update the project again from Beta to Production status by next month. We welcome any feedback. If you have any issues with the library, make sure you post them in the Issue Tracker so they can be prioritized and voted on.

For my next Blog entry I will discuss a little project Craig Boyd and I started on that will allow any VFP object (with a Picture property) to become a canvas object and have an associated Graphics object. There is a small sample posted on VPFX that demos this new functionality.

 


Thursday, August 16, 2007 3:32:21 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [3]  Tracked by:
"Great news for VFPX" (Cesar Chalom) [Trackback]
http://weblogs.foxite.com/cesarchalom/archive/2007/08/23/4639.aspx [Pingback]


Thursday, August 16, 2007 12:39:10 PM (Eastern Daylight Time, UTC-04:00)
Thanks for the announcement, Bo. I'll check it out right away!

++Alan
Thursday, August 16, 2007 2:06:53 PM (Eastern Daylight Time, UTC-04:00)
Excelent, thanks for the announcement.

You guys are great!!!.

Gracias, muchas gracias. =D
Tuesday, October 16, 2007 12:31:48 AM (Eastern Daylight Time, UTC-04:00)
Hi Bo

Brilliant bit of code.

With the latest download there are 2 VCX files - system and GDIPlus

and about 5 prg files. Are both types of files needed or either vcx or prg? Would it be sufficient to just DO SYSTEM.PRG?

Also was there a reason for having so many files instead of one prg file or 1 VCX class Lib?

Also I am looking at adding a custom method to the Canvas class. At the moment the code needs to be put in the Before draw. The sample is Transformations, where you load the canvas with the picture pointed to by the txtBox or the one loaded in the image control.

In this example you load the image and then allow shear and rotate. Except that the background of the image drawn on the canvas does NOT display transparent, as is the case with any bitmap generated from these GDI+x classes. Normal VFP behaviour is to make the white portion transparent if needed. I wanted to add some such method - MakeBackTransparent(RGB Colour) but dont have the GDI+ skills as yet. This is something I feel is essential as a lot of the graphical stuff I do uses transparent background BMP's.

Thanks again.

Bernard
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: )  

Enter the code shown (prevents robots):