Click to See Complete Forum and Search --> : Converting GDImage.dll (GDI, DIB, GDI+) declaration to C++ and VB


Patrice Terrier
December 17th, 2005, 11:36 AM
Hi,

I am a Win32 SDK programmer.

I have written a small Win32 DLL named GDImage.
It is a mix of standard GDI, DIB, and GDIPLUS (flat API).
It creates persistent graphic controls (Create once...and forget) that takes care of everything, automatically.
All internal drawing are using 32-bit cached bitmaps or DIBs using ARGB colors to perform alphablending.
It is able to perform image rotation at any angle with state of the art antialias.
It supports both bitmap and vectorial drawing, using multiple layers within a single image control.
It is able to play GIF animated with or without transparent background, perform color replacement and color conversion to shade of gray.
It is able to load any graphic file from EXE's resource.
It has built-in slide show transition effects including "full smooth fadding".
You can change object's properties on the fly: z-order, location, ARGB color, pen size, translucency, text string, draft or antialias mode.
You can create either child controls, popup layered windows, and popup shapped windows (a window using a region based on a transparent bitmap color).
Plus ... Etc.

My problem is:
Being not a C nor a VB programmer, I would like to know if the provided (SDK programming style) PowerBASIC source code examples and API declarations, could be translated to C++ and VB.

Here is the link to download the demo:
GDImage demo (http://www.zapsolution.com/preview/gdimage.zip)

it is provided with the EXE's and several PowerBASIC source code examples.

I would be glad to offer a free copy of the GDImage.dll to anybody who could help me translating the examples and the include file to plain C and/or VB code.

If interrested, contact me there "pterrier at zapsolution dot com"


Thank you for reading this thread.

Patrice Terrier
www.zapsolution.com

.