FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour MIRROR
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
MIRROR
Posted: Thu Nov 29, 2007 11:08 AM

How create an mirror Image ?

Best Regards, Saludos



Falconi Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
MIRROR
Posted: Thu Nov 29, 2007 12:01 PM

Perhaps I found the solution

FreeImage_RotateClassic(DIB, Angle)

Declare Function FreeImage_RotateClassic Lib "FreeImage.dll" Alias "_FreeImage_RotateClassic@12" (ByVal DIB As Long, ByVal Angle As Double) As Long

Best Regards, Saludos



Falconi Silvio
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
MIRROR
Posted: Thu Nov 29, 2007 01:45 PM

No, a rotation is not a mirroring. Try with FreeImage_FlipHorizontal().

EMG

Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
MIRROR
Posted: Thu Nov 29, 2007 04:20 PM

ok where I can found all the parameters for it func ?

Best Regards, Saludos



Falconi Silvio
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
MIRROR
Posted: Thu Nov 29, 2007 04:56 PM
Silvio,

here you can find the documentation of Freeimage

http://downloads.sourceforge.net/freeimage/FreeImage3100.pdf
kind regards

Stefan
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
MIRROR
Posted: Thu Nov 29, 2007 05:27 PM

can you write the wrapper for it ?
FreeImage_FlipHorizontal
DLL_API BOOL DLL_CALLCONV FreeImage_FlipHorizontal(FIBITMAP *dib);

Best Regards, Saludos



Falconi Silvio

Continue the discussion