From d81c8d816b0af8469707c7ed54a041eb79dfd35a Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 9 Dec 2009 20:18:31 +0000 Subject: [PATCH] 2009-12-09 21:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbgd/gdwrp.c * Formatting (deleted unnecessary returns and blocks). * ChangeLog - contrib/hbgd/ChangeLog * Merged local ChangeLog into central one. --- harbour/ChangeLog | 345 +++++++++++++++ harbour/contrib/hbgd/ChangeLog | 348 --------------- harbour/contrib/hbgd/gdwrp.c | 773 ++++++++++++--------------------- 3 files changed, 614 insertions(+), 852 deletions(-) delete mode 100644 harbour/contrib/hbgd/ChangeLog diff --git a/harbour/ChangeLog b/harbour/ChangeLog index ac0e9b783c..216fa6000f 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,14 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-12-09 21:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbgd/gdwrp.c + * Formatting (deleted unnecessary returns and blocks). + + * ChangeLog + - contrib/hbgd/ChangeLog + * Merged local ChangeLog into central one. + 2009-12-09 20:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddsql/sqlbase.c ! fixed yet another typo @@ -88613,6 +88621,16 @@ * added additional line number validation to not make optimizations which will change line numbers +2007-09-16 22:28 UTC+0200 Francesco Saverio Giudice + * contrib/gd/source/gdwrp.c + * cleaned some comments + * contrib/gd/ChangeLog + * adjusted time of previous commit + +2007-09-16 22:25 UTC+0200 Francesco Saverio Giudice + * contrib/gd/source/gdwrp.c + * changed pointers handling, thanks to Przemek for code + 2007-09-16 20:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * source/rtl/tbrowse.prg ! C5.x compatible fix for non-numeric values inside the @@ -93794,6 +93812,14 @@ * harbour/contrib/hgf/os2pm/tform.prg ! Fixed unused symbol. +2007-04-05 10:00 UTC+0200 Lorenzo Fiorini + * ported from xHarbour/contrib/gd + * changed name of the lib from gdlib to hbgd + * changed dirs and make files + * deleted some files + * changed images + * changed C and prg for Harbour + 2007-04-04 15:30 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/contrib/pgsql/tpostgre.prg * removed unused vars @@ -94061,6 +94087,21 @@ * harbour/utils/hbtest/rt_misc.prg * removed unnecessary ::cValue in in IIF() statements +2006-03-28 14:06 UTC-0300 Laverson Espindola + * contrib/gd/source/gdbarcode.prg + * contrib/gd/source/gdbar.prg + + added method to create barcode of the type 2 of 5 + * contrig/gd/samples/barcode/bartest.prg + + added sample to use barcode of the type 2 of 5 + +2006-03-21 00:38 UTC+0100 Francesco Saverio Giudice + * contrib/gd/rules.make + * contrib/gd/make_vc.bat + * fixed make files + + * contrib/gd/source/gdwrp.c + * fixed linux compilation to align to gd ver. 2.0.28 + 2007-03-23 04:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/hbgtmk.sh @@ -101443,6 +101484,11 @@ * suppressed memory access error in getExpReal + added missing '.' in valid match markers (ConvertOptional) +2006-03-12 23:15 UTC+0100 Francesco Saverio Giudice + * contrib/gd/make_b32.bat + * contrib/gd/makefile.bc + * fixed BCC compilation + 2006-03-11 09:45 UTC+0100 Ryszard Glab * source/pp/ppcomp.c * source/pp/ppcore.c @@ -102911,6 +102957,26 @@ * source/rtl/filesys.c * Harbour 64 bits required fix +2006-01-21 01:45 UTC+0100 Francesco Saverio Giudice + * contrib/gd/source/gd.prg + + added functions: + gdImageToString( oImage ) -> cImageString + return a string containing binary image + check oImage:cType for image type: jpeg, gif or png + gdImageToFile( oImage, cFileName ) -> NIL + Create an image file (as cFileName + "." + oImage:cType) + + * contrib/gd/source/gdimage.prg + + added ToString() method, this choose right ToString*() method reading cType property + + added ToFile( cFile ) method, this choose right ToString*() method reading cType property + and create an image file + + + contrib/gd/include/gdexternal.ch + external gd functions declaration + + + contrib/gd/tests/tostring.prg + sample for tostring() and SaveToFile() methods + 2006-01-09 14:50 UTC+0100 Ryszard Glab * include/hbexprb.c * source/compiler/exproptb.c @@ -102921,6 +102987,25 @@ * source/rtl/filesys.c * added missing '(' to copile correctly on UNIX'es +2006-01-08 23:28 UTC+0100 Francesco Saverio Giudice + * contrib/gd/source/gdwrp.c + + added save image to string + * contrib/gd/source/gdimage.prg + + added ToString*() methods, fixed Output*() methods + + /* + Now it is possible to get an image into a string using ToString*() methods. + Sample: + oImage := GDImage( 200, 200 ) + .... + cImage := oImage:ToStringJPeg() + */ + +2006-01-08 02:47 UTC+0100 Francesco Saverio Giudice + * contrib/gd/source/gdwrp.c + * fixed error + formatting + * contrib/gd/source/gd.prg + * fixed gdImageFromFile() 2005-12-28 13:05 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * vm/maindll.c @@ -102930,6 +103015,54 @@ one or two Harbour items as parameters. A HBDLLENTRYN() that allows optionally N parameters would be valuable too. +2005-12-26 23:16 UTC+0100 Francesco Saverio Giudice + * contrib/gd/source/gdwrp.c + * fixed error parameters number + +2005-12-26 22:58 UTC+0100 Francesco Saverio Giudice + * contrib/gd/source/gdwrp.c + * gdImageStringFTEx + + added new parameters: linespacing (default 1.05) + charmap (default gdFTEX_Unicode) + resolution (default 96 dpi) + * contrib/gd/source/gd.prg + * changed gdImageStringFT accordling with new parameters + * contrib/gd/source/gdimage.prg + * changed SayFreeType() method accordling with new parameters + + contrib/gd/tests/testdpi.prg + + added sample showing dpi changes + * contrib/gd/include/gd.h + * minor formatting + + /* + Added new parameters not handled before to alter dpi in string drawing + As per request of Rene Gladis + */ + +2005-12-12 14:06 UTC-0300 Laverson Espindola + * source\gdbar.prg + ! Added new parameters in construtor class TCode + default "image_bar/", to output image, this suggestion from Francesco Saverio Giudice. + +2005-12-09 18:30 UTC-0300 Laverson Espindola + * source\gdwrp.c + ! Added missing castings to make MSVC happy + * make_vc.bat + * makefile.nt + + Added MSVC building files + * makemsvcimport.bat + + Utility to create import lib from GD DLL + * source\gdbar.prg + * source\gdbarcode.prg + + Added barcode generation routines + * samples\barcode\bartest.prg + * samples\barcode\bldtest.bat + * samples\barcode\bldtestvc.bat + + Added barcode sample + * readme.txt + * makefile.bc + ! Updated with BarCode stuff + 2005-12-02 17:12 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * include/hbmath.h ! Fixed a few declarations to be in sync with the @@ -103456,6 +103589,28 @@ NOTE: The new pcodes were added - rebuild everything +2005-11-07 01:37 UTC+0100 Francesco Saverio Giudice + + * contrib/gd/readme.txt + * updated + +2005-11-07 00:15 UTC+0100 Francesco Saverio Giudice + + * contrib/gd/source/gdwrp.c + + added gdImageGifAnimBegin, gdImageGifAnimAdd, gdImageGifAnimEnd + + + contrib/gd/tests/animgif.prg + + test of gdImageGifAnim*() functions + + /* Added Animated GIF functions ! */ + +2005-11-06 16:48 UTC+0100 Francesco Saverio Giudice + + * contrib/gd/source/gdwrp.c + + added GTIMAGECREATEPALETTE as alias of GDIMAGECREATE + + contrib/gd/tests/antialiased.prg + + test of gdImageSetAntiAliased() function + thanks to Jorge Mason for requesting it 2005-11-04 22:19 UTC+0100 Antonio Linares * harbour/source/vm/estack.c @@ -103610,6 +103765,46 @@ NOTE: harbour/source/rdd/dbfcdx/sixcdx0.prg harbour/source/rdd/dbfdbt/dbfdbt0.prg +2005-10-31 01:37 UTC+0100 Francesco Saverio Giudice + + + contrib/gd/rules.make + * reverted. file needed + +2005-10-31 01:20 UTC+0100 Francesco Saverio Giudice + + * contrib/gd/source/gdwrp.c + * contrib/gd/source/gdimage.prg + * contrib/gd/source/gd.prg + * fixed some warnings + + * contrib/gd/include/gd.h + * contrib/gd/include/gd.ch + * contrib/gd/source/gdimage.c + * contrib/gd/source/gdwrp.c + * guarded gd version. + for linux gd last version is 2.0.28 (i.e. Fedora Core 3) + for windows gd last version is 2.0.33 + if your distribution is different please update header files + this is needed because some functions are missing in 2.0.28 + + - contrib/gd/rules.make + - contrib/gd/test/Makefile + - contrib/gd/test/Makefile.linux + - contrib/gd/test/Makefile.mingw32 + + contrib/gd/test/bldtest.sh + + contrib/gd/test/dll_b32.bat + + contrib/gd/test/dll_b32.mak + + contrib/gd/samples/counter/bldtest.sh + + contrib/gd/samples/counter/dll_b32.bat + + contrib/gd/samples/counter/dll_b32.mak + * contrib/gd/README.txt + + * updated compilation batches for windows dll and linux + + now for windows: bldtest gdtest (full static) + dll_b32 gdtest (dll version - needs harbour.dll) + for linux : . bldtest.sh gdtest + 2005-10-30 14:50 UTC+0200 Chen Kedem * doc/dirstruc.txt + Add oneliner description for: source/rdd/hbsix, source/rdd/hsx @@ -103626,6 +103821,20 @@ NOTE: * source/lang/msghewin.c * Update startup code to work with MSC +2005-10-30 02:32 UTC+0200 Francesco Saverio Giudice + + * contrib/gd/source/gdwrp.c + * replaced + im = hb_itemGetPtr( hb_param( 1, HB_IT_POINTER ) ); + with + im = hb_parptr( 1 ); + and + im_handle = hb_itemPutPtr( NULL, ( BYTE *) im ); + hb_itemReturn(im_handle); + hb_itemRelease(im_handle); + with + hb_retptr( im ) + 2005-10-28 10:23 UTC+0100 Viktor Szakats (viktor.szakats syenar.hu) * hrbdll.bc * hrbdll.vc @@ -103650,6 +103859,142 @@ NOTE: * HU minor fix. * Lang template updated. +2005-10-25 18:07 UTC+0200 Francesco Saverio Giudice + + * contrib/gd/make_b32.bat + * fixed bgd.dll name + (thanks to Dener) + +2005-10-25 10:31 UTC+0200 Francesco Saverio Giudice + + - contrib/gd/bgd.dll + + contrib/gd/bgd.dll_download.url + * removed from bgd.dll from CVS 2.9 MB (sorry) + and added a link to gdwin32.zip from Thomas Boutell's website + to download it. + * contrib/gd/README.txt + * updated + * contrib/gd/make_b32.bat + * check if bgd.dll exists + +2005-10-25 02:43 UTC+0200 Francesco Saverio Giudice + + * contrib/gd/tests/gdtest.prg + * contrib/gd/tests/gdtestcls.prg + * some fixes + + * contrib/gd/README.txt + * updated + + + contrib/gd/samples + + added a samples directory + + + contrib/gd/samples/counter/bldtest.bat + + contrib/gd/samples/counter/counter.prg + + contrib/gd/samples/counter/digits + + contrib/gd/samples/counter/digits/57chevy.gif + + contrib/gd/samples/counter/digits/7seg.gif + + contrib/gd/samples/counter/digits/brsd.gif + + contrib/gd/samples/counter/digits/digib.gif + + contrib/gd/samples/counter/digits/digitmania.url + + contrib/gd/samples/counter/digits/fdb.gif + + contrib/gd/samples/counter/digits/jelly.gif + + contrib/gd/samples/counter/digits/odb.gif + + contrib/gd/samples/counter/digits/odw.gif + + contrib/gd/samples/counter/digits/pdg.gif + + contrib/gd/samples/counter/digits/pdw.gif + + added a counter sample + + /* + A first sample: an image counter + to build: bldtest counter + to run: counter + to have a random number using 57chevy.gif as base image + or: counter 372647 odb.gif + to have a fixed number with odb.gif as base image + + base images from digitmania + + Enjoy! + + Francesco + + */ + +2005-10-25 01:14 UTC+0200 Francesco Saverio Giudice + + * contrib/gd/tests/bldtest.bat + * fixed build error + +2005-10-25 01:02 UTC+0200 Francesco Saverio Giudice + + * contrib/gd/tests/gdtest.prg + * contrib/gd/tests/gdtestcls.prg + * added output directory check and create if not exists + +2005-10-24 15:10 UTC+0200 Francesco Saverio Giudice + + + contrib/gd + + + /bgd.dll + + /rules.make + + /Makefile + + /make_b32.bat + + /makefile.bc + + /readme.txt + + /ChangeLog + + /doc/entities.html + + /doc/GD Graphics Library.url + + /doc/gd-license.txt + + /doc/gdlib.txt + + /doc/index.html + + /doc/libfreetype-license.txt + + /doc/libjpeg-license.txt + + /doc/libpng-license.txt + + /doc/win32-readme.txt + + /doc/zlib-license.txt + + /env/makeb32.env + + /env/makelib.b32 + + /env/bccwin32.mak + + /include/gd.h + + /include/gdcache.h + + /include/gdfontg.h + + /include/gdfontl.h + + /include/gdfontmb.h + + /include/gdfonts.h + + /include/gdfontt.h + + /include/gdfx.h + + /include/gdhelpers.h + + /include/gd_io.h + + /include/jisx0208.h + + /include/wbmp.h + + /include/gd.ch + + /source/gd.prg + + /source/gdchart.prg + + /source/Makefile + + /source/gdwrp.c + + /source/gdimage.prg + + /tests/images_in + + /tests/images_out + + /tests/Makefile + + /tests/Makefile.linux + + /tests/Makefile.mingw32 + + /tests/setfont.bat + + /tests/bldtest.bat + + /tests/test_out.prg + + /tests/gdtest.prg + + /tests/gdtestcls.prg + + /tests/images_in/xharbour.jpg + + /tests/images_in/italia.gif + + /tests/images_in/fsg.jpg + + /tests/images_out/ + + + first upload + + /* + please look at readme.txt + */ + 2005-10-24 15:09 UTC+0200 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc - Remove references to: diff --git a/harbour/contrib/hbgd/ChangeLog b/harbour/contrib/hbgd/ChangeLog deleted file mode 100644 index e9cc72c3de..0000000000 --- a/harbour/contrib/hbgd/ChangeLog +++ /dev/null @@ -1,348 +0,0 @@ -/* - * $Id$ - */ - -/* Use this format for the entry headers: - YYYY-MM-DD HH:MM UTC[-|+]hhmm Your Full Name - For example: - 2002-12-01 23:12 UTC+0100 Foo Bar -*/ - -2007-09-16 22:28 UTC+0200 Francesco Saverio Giudice - * contrib/gd/source/gdwrp.c - * cleaned some comments - * contrib/gd/ChangeLog - * adjusted time of previous commit - -2007-09-16 22:25 UTC+0200 Francesco Saverio Giudice - * contrib/gd/source/gdwrp.c - * changed pointers handling, thanks to Przemek for code - -2007-04-05 10:00 UTC+0200 Lorenzo Fiorini - * ported from xHarbour/contrib/gd - * changed name of the lib from gdlib to hbgd - * changed dirs and make files - * deleted some files - * changed images - * changed C and prg for Harbour - -2006-03-28 14:06 UTC-0300 Laverson Espindola - * contrib/gd/source/gdbarcode.prg - * contrib/gd/source/gdbar.prg - + added method to create barcode of the type 2 of 5 - * contrig/gd/samples/barcode/bartest.prg - + added sample to use barcode of the type 2 of 5 - -2006-03-21 00:38 UTC+0100 Francesco Saverio Giudice - * contrib/gd/rules.make - * contrib/gd/make_vc.bat - * fixed make files - - * contrib/gd/source/gdwrp.c - * fixed linux compilation to align to gd ver. 2.0.28 - -2006-03-12 23:15 UTC+0100 Francesco Saverio Giudice - * contrib/gd/make_b32.bat - * contrib/gd/makefile.bc - * fixed BCC compilation - -2006-01-21 01:45 UTC+0100 Francesco Saverio Giudice - * contrib/gd/source/gd.prg - + added functions: - gdImageToString( oImage ) -> cImageString - return a string containing binary image - check oImage:cType for image type: jpeg, gif or png - gdImageToFile( oImage, cFileName ) -> NIL - Create an image file (as cFileName + "." + oImage:cType) - - * contrib/gd/source/gdimage.prg - + added ToString() method, this choose right ToString*() method reading cType property - + added ToFile( cFile ) method, this choose right ToString*() method reading cType property - and create an image file - - + contrib/gd/include/gdexternal.ch - external gd functions declaration - - + contrib/gd/tests/tostring.prg - sample for tostring() and SaveToFile() methods - -2006-01-08 23:28 UTC+0100 Francesco Saverio Giudice - * contrib/gd/source/gdwrp.c - + added save image to string - * contrib/gd/source/gdimage.prg - + added ToString*() methods, fixed Output*() methods - - /* - Now it is possible to get an image into a string using ToString*() methods. - Sample: - oImage := GDImage( 200, 200 ) - .... - cImage := oImage:ToStringJPeg() - */ - -2006-01-08 02:47 UTC+0100 Francesco Saverio Giudice - * contrib/gd/source/gdwrp.c - * fixed error + formatting - * contrib/gd/source/gd.prg - * fixed gdImageFromFile() - -2005-12-26 23:16 UTC+0100 Francesco Saverio Giudice - * contrib/gd/source/gdwrp.c - * fixed error parameters number - -2005-12-26 22:58 UTC+0100 Francesco Saverio Giudice - * contrib/gd/source/gdwrp.c - * gdImageStringFTEx - + added new parameters: linespacing (default 1.05) - charmap (default gdFTEX_Unicode) - resolution (default 96 dpi) - * contrib/gd/source/gd.prg - * changed gdImageStringFT accordling with new parameters - * contrib/gd/source/gdimage.prg - * changed SayFreeType() method accordling with new parameters - + contrib/gd/tests/testdpi.prg - + added sample showing dpi changes - * contrib/gd/include/gd.h - * minor formatting - - /* - Added new parameters not handled before to alter dpi in string drawing - As per request of Rene Gladis - */ - -2005-12-12 14:06 UTC-0300 Laverson Espindola - * source\gdbar.prg - ! Added new parameters in construtor class TCode - default "image_bar/", to output image, this suggestion from Francesco Saverio Giudice. - -2005-12-09 18:30 UTC-0300 Laverson Espindola - * source\gdwrp.c - ! Added missing castings to make MSVC happy - * make_vc.bat - * makefile.nt - + Added MSVC building files - * makemsvcimport.bat - + Utility to create import lib from GD DLL - * source\gdbar.prg - * source\gdbarcode.prg - + Added barcode generation routines - * samples\barcode\bartest.prg - * samples\barcode\bldtest.bat - * samples\barcode\bldtestvc.bat - + Added barcode sample - * readme.txt - * makefile.bc - ! Updated with BarCode stuff - -2005-11-07 01:37 UTC+0100 Francesco Saverio Giudice - - * contrib/gd/readme.txt - * updated - -2005-11-07 00:15 UTC+0100 Francesco Saverio Giudice - - * contrib/gd/source/gdwrp.c - + added gdImageGifAnimBegin, gdImageGifAnimAdd, gdImageGifAnimEnd - - + contrib/gd/tests/animgif.prg - + test of gdImageGifAnim*() functions - - /* Added Animated GIF functions ! */ - -2005-11-06 16:48 UTC+0100 Francesco Saverio Giudice - - * contrib/gd/source/gdwrp.c - + added GTIMAGECREATEPALETTE as alias of GDIMAGECREATE - + contrib/gd/tests/antialiased.prg - + test of gdImageSetAntiAliased() function - thanks to Jorge Mason for requesting it - -2005-10-31 01:37 UTC+0100 Francesco Saverio Giudice - - + contrib/gd/rules.make - * reverted. file needed - -2005-10-31 01:20 UTC+0100 Francesco Saverio Giudice - - * contrib/gd/source/gdwrp.c - * contrib/gd/source/gdimage.prg - * contrib/gd/source/gd.prg - * fixed some warnings - - * contrib/gd/include/gd.h - * contrib/gd/include/gd.ch - * contrib/gd/source/gdimage.c - * contrib/gd/source/gdwrp.c - * guarded gd version. - for linux gd last version is 2.0.28 (i.e. Fedora Core 3) - for windows gd last version is 2.0.33 - if your distribution is different please update header files - this is needed because some functions are missing in 2.0.28 - - - contrib/gd/rules.make - - contrib/gd/test/Makefile - - contrib/gd/test/Makefile.linux - - contrib/gd/test/Makefile.mingw32 - + contrib/gd/test/bldtest.sh - + contrib/gd/test/dll_b32.bat - + contrib/gd/test/dll_b32.mak - + contrib/gd/samples/counter/bldtest.sh - + contrib/gd/samples/counter/dll_b32.bat - + contrib/gd/samples/counter/dll_b32.mak - * contrib/gd/README.txt - - * updated compilation batches for windows dll and linux - - now for windows: bldtest gdtest (full static) - dll_b32 gdtest (dll version - needs harbour.dll) - for linux : . bldtest.sh gdtest - -2005-10-30 02:32 UTC+0200 Francesco Saverio Giudice - - * contrib/gd/source/gdwrp.c - * replaced - im = hb_itemGetPtr( hb_param( 1, HB_IT_POINTER ) ); - with - im = hb_parptr( 1 ); - and - im_handle = hb_itemPutPtr( NULL, ( BYTE *) im ); - hb_itemReturn(im_handle); - hb_itemRelease(im_handle); - with - hb_retptr( im ) - -2005-10-25 18:07 UTC+0200 Francesco Saverio Giudice - - * contrib/gd/make_b32.bat - * fixed bgd.dll name - (thanks to Dener) - -2005-10-25 10:31 UTC+0200 Francesco Saverio Giudice - - - contrib/gd/bgd.dll - + contrib/gd/bgd.dll_download.url - * removed from bgd.dll from CVS 2.9 MB (sorry) - and added a link to gdwin32.zip from Thomas Boutell's website - to download it. - * contrib/gd/README.txt - * updated - * contrib/gd/make_b32.bat - * check if bgd.dll exists - -2005-10-25 02:43 UTC+0200 Francesco Saverio Giudice - - * contrib/gd/tests/gdtest.prg - * contrib/gd/tests/gdtestcls.prg - * some fixes - - * contrib/gd/README.txt - * updated - - + contrib/gd/samples - + added a samples directory - - + contrib/gd/samples/counter/bldtest.bat - + contrib/gd/samples/counter/counter.prg - + contrib/gd/samples/counter/digits - + contrib/gd/samples/counter/digits/57chevy.gif - + contrib/gd/samples/counter/digits/7seg.gif - + contrib/gd/samples/counter/digits/brsd.gif - + contrib/gd/samples/counter/digits/digib.gif - + contrib/gd/samples/counter/digits/digitmania.url - + contrib/gd/samples/counter/digits/fdb.gif - + contrib/gd/samples/counter/digits/jelly.gif - + contrib/gd/samples/counter/digits/odb.gif - + contrib/gd/samples/counter/digits/odw.gif - + contrib/gd/samples/counter/digits/pdg.gif - + contrib/gd/samples/counter/digits/pdw.gif - + added a counter sample - - /* - A first sample: an image counter - to build: bldtest counter - to run: counter - to have a random number using 57chevy.gif as base image - or: counter 372647 odb.gif - to have a fixed number with odb.gif as base image - - base images from digitmania - - Enjoy! - - Francesco - - */ - -2005-10-25 01:14 UTC+0200 Francesco Saverio Giudice - - * contrib/gd/tests/bldtest.bat - * fixed build error - -2005-10-25 01:02 UTC+0200 Francesco Saverio Giudice - - * contrib/gd/tests/gdtest.prg - * contrib/gd/tests/gdtestcls.prg - * added output directory check and create if not exists - -2005-10-24 15:10 UTC+0200 Francesco Saverio Giudice - - + contrib/gd - - + /bgd.dll - + /rules.make - + /Makefile - + /make_b32.bat - + /makefile.bc - + /readme.txt - + /ChangeLog - + /doc/entities.html - + /doc/GD Graphics Library.url - + /doc/gd-license.txt - + /doc/gdlib.txt - + /doc/index.html - + /doc/libfreetype-license.txt - + /doc/libjpeg-license.txt - + /doc/libpng-license.txt - + /doc/win32-readme.txt - + /doc/zlib-license.txt - + /env/makeb32.env - + /env/makelib.b32 - + /env/bccwin32.mak - + /include/gd.h - + /include/gdcache.h - + /include/gdfontg.h - + /include/gdfontl.h - + /include/gdfontmb.h - + /include/gdfonts.h - + /include/gdfontt.h - + /include/gdfx.h - + /include/gdhelpers.h - + /include/gd_io.h - + /include/jisx0208.h - + /include/wbmp.h - + /include/gd.ch - + /source/gd.prg - + /source/gdchart.prg - + /source/Makefile - + /source/gdwrp.c - + /source/gdimage.prg - + /tests/images_in - + /tests/images_out - + /tests/Makefile - + /tests/Makefile.linux - + /tests/Makefile.mingw32 - + /tests/setfont.bat - + /tests/bldtest.bat - + /tests/test_out.prg - + /tests/gdtest.prg - + /tests/gdtestcls.prg - + /tests/images_in/xharbour.jpg - + /tests/images_in/italia.gif - + /tests/images_in/fsg.jpg - + /tests/images_out/ - - + first upload - - /* - please look at readme.txt - */ diff --git a/harbour/contrib/hbgd/gdwrp.c b/harbour/contrib/hbgd/gdwrp.c index bd981977a3..9c17c79672 100644 --- a/harbour/contrib/hbgd/gdwrp.c +++ b/harbour/contrib/hbgd/gdwrp.c @@ -384,10 +384,8 @@ static void GDImageCreateFrom( int nType ) } else { - - /* Parameter error */ hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - "GDIMAGECREATEFROM*", 2, + HB_ERR_FUNCNAME, 2, hb_paramError( 1 ), hb_paramError( 2 ) ); return; } @@ -447,7 +445,7 @@ static void GDImageSaveTo( int nType ) { hb_errRT_BASE_SubstR( EG_ARG, 0, "Second argument must be NIL or numeric or a string.", - "GDIMAGE* (Save functions)", 2, + HB_ERR_FUNCNAME, 2, hb_paramError( 2 ) ); return; } @@ -459,7 +457,7 @@ static void GDImageSaveTo( int nType ) { hb_errRT_BASE_SubstR( EG_ARG, 0, "Tirdh argument must be NIL or numeric.", - "GDIMAGE* (Save functions)", 1, + HB_ERR_FUNCNAME, 1, hb_paramError( 3 ) ); return; } @@ -472,7 +470,7 @@ static void GDImageSaveTo( int nType ) { hb_errRT_BASE_SubstR( EG_ARG, 0, "Compression level must be -1 (default) or a value between 0 and 95.", - "GDIMAGEJPEG (Save functions)", 1, + HB_ERR_FUNCNAME, 1, hb_paramError( 3 ) ); return; } @@ -485,7 +483,7 @@ static void GDImageSaveTo( int nType ) { hb_errRT_BASE_SubstR( EG_ARG, 0, "Compression level must be -1 (default) or a value between 0 and 9.", - "GDIMAGEPNG (Save functions)", 1, + HB_ERR_FUNCNAME, 1, hb_paramError( 3 ) ); return; } @@ -496,7 +494,7 @@ static void GDImageSaveTo( int nType ) { hb_errRT_BASE_SubstR( EG_ARG, 0, "Foreground color nedeed", - "GDIMAGEWBMP (Save functions)", 1, + HB_ERR_FUNCNAME, 1, hb_paramError( 3 ) ); return; } @@ -556,12 +554,9 @@ static void GDImageSaveTo( int nType ) } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - "GDIMAGE* (save functions)", 1, - hb_paramError( 1 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 1, + hb_paramError( 1 ) ); } } @@ -618,12 +613,9 @@ HB_FUNC( GDIMAGECREATE ) /* gdImagePtr gdImageCreate(sx, sy) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -659,12 +651,9 @@ HB_FUNC( GDIMAGECREATETRUECOLOR ) /* gdImageCreateTrueColor(sx, sy) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -785,12 +774,9 @@ HB_FUNC( GDIMAGEDESTROY ) /* gdImageDestroy(gdImagePtr im) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 1, - hb_paramError( 1 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 1, + hb_paramError( 1 ) ); } } @@ -830,12 +816,9 @@ HB_FUNC( GDIMAGESETPIXEL ) /* void gdImageSetPixel(gdImagePtr im, int x, int y, } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 4, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 4, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); } } @@ -874,13 +857,10 @@ HB_FUNC( GDIMAGELINE ) /* void gdImageLine(gdImagePtr im, int x1, int y1, int x2 } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 6, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 6, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ) ); } } @@ -919,13 +899,10 @@ HB_FUNC( GDIMAGEDASHEDLINE ) /* void gdImageDashedLine(gdImagePtr im, int x1, in } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 6, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 6, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ) ); } } @@ -976,12 +953,9 @@ HB_FUNC( GDIMAGEPOLYGON ) /* original: void gdImagePolygon(gdImagePtr im, gdPoin } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 3, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 3, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); } } @@ -1032,12 +1006,9 @@ HB_FUNC( GDIMAGEOPENPOLYGON ) /* original: void gdImageOpenPolygon(gdImagePtr im } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 3, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 3, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); } } #endif /* ( GD_VERS >= 2033 ) */ @@ -1077,13 +1048,10 @@ HB_FUNC( GDIMAGERECTANGLE ) /* void gdImageRectangle(gdImagePtr im, int x1, int } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 6, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 6, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ) ); } } @@ -1134,12 +1102,9 @@ HB_FUNC( GDIMAGEFILLEDPOLYGON ) /* original: void gdImageFilledPolygon(gdImagePt } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 3, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 3, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); } } @@ -1178,13 +1143,10 @@ HB_FUNC( GDIMAGEFILLEDRECTANGLE ) /* void gdImageFilledRectangle(gdImagePtr im, } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 6, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 6, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ) ); } } @@ -1226,13 +1188,10 @@ HB_FUNC( GDIMAGEARC ) /* void gdImageArc(gdImagePtr im, int cx, int cy, int w, i } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 8, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 8, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ) ); } } @@ -1278,14 +1237,11 @@ HB_FUNC( GDIMAGEFILLEDARC ) /* void gdImageFilledArc(gdImagePtr im, int cx, int } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 9, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), - hb_paramError( 9 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 9, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), + hb_paramError( 9 ) ); } } @@ -1323,13 +1279,10 @@ HB_FUNC( GDIMAGEFILLEDELLIPSE ) /* void gdImageFilledEllipse(gdImagePtr im, int } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 6, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 6, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ) ); } } @@ -1365,13 +1318,10 @@ HB_FUNC( GDIMAGEFILLTOBORDER ) /* void gdImageFillToBorder(gdImagePtr im, int x, } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 5, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 5, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ) ); } } @@ -1411,13 +1361,10 @@ HB_FUNC( GDIMAGEELLIPSE ) /* void gdImageEllipse(gdImagePtr im, int cx, int cy, } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 6, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 6, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ) ); } } #endif /* ( GD_VERS >= 2035 ) */ @@ -1452,12 +1399,9 @@ HB_FUNC( GDIMAGEFILL ) /* void gdImageFill(gdImagePtr im, int x, int y, int colo } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 4, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 4, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); } } @@ -1485,12 +1429,9 @@ HB_FUNC( GDIMAGESETANTIALIASED ) /* void gdImageSetAntiAliased(gdImagePtr im, in } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -1523,12 +1464,9 @@ HB_FUNC( GDIMAGESETANTIALIASEDDONTBLEND ) /* void gdImageSetAntiAliasedDontBlend } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 3, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 3, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); } } @@ -1556,12 +1494,9 @@ HB_FUNC( GDIMAGESETBRUSH ) /* void gdImageSetBrush(gdImagePtr im, gdImagePtr bru } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -1589,12 +1524,9 @@ HB_FUNC( GDIMAGESETTILE ) /* void gdImageSetTile(gdImagePtr im, gdImagePtr tile) } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -1633,12 +1565,9 @@ HB_FUNC( GDIMAGESETSTYLE ) /* original: void gdImageSetStyle(gdImagePtr im, int } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -1673,12 +1602,9 @@ HB_FUNC( GDIMAGESETTHICKNESS ) /* void gdImageSetThickness(gdImagePtr im, int th } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -1706,12 +1632,9 @@ HB_FUNC( GDIMAGEALPHABLENDING ) /* void gdImageAlphaBlending(gdImagePtr im, int } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -1739,12 +1662,9 @@ HB_FUNC( GDIMAGESAVEALPHA ) /* void gdImageSaveAlpha(gdImagePtr im, int saveFlag } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -1778,13 +1698,10 @@ HB_FUNC( GDIMAGESETCLIP ) /* void gdImageSetClip(gdImagePtr im, int x1, int y1, } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 5, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 5, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ) ); } } @@ -1820,12 +1737,9 @@ HB_FUNC( GDIMAGEGETCLIP ) /* original: void gdImageGetClip(gdImagePtr im, int *x } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 1, - hb_paramError( 1 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 1, + hb_paramError( 1 ) ); } } @@ -1853,12 +1767,9 @@ HB_FUNC( GDIMAGECOLORSTOTAL ) /* int gdImageColorsTotal(gdImagePtr im) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 1, - hb_paramError( 1 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 1, + hb_paramError( 1 ) ); } } @@ -1886,12 +1797,9 @@ HB_FUNC( GDIMAGEALPHA ) /* int gdImageAlpha(gdImagePtr im, int color) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -1919,12 +1827,9 @@ HB_FUNC( GDIMAGERED ) /* int gdImageRed(gdImagePtr im, int color) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -1952,12 +1857,9 @@ HB_FUNC( GDIMAGEGREEN ) /* int gdImageGreen(gdImagePtr im, int color) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -1985,12 +1887,9 @@ HB_FUNC( GDIMAGEBLUE ) /* int gdImageBlue(gdImagePtr im, int color) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -2013,12 +1912,9 @@ HB_FUNC( GDIMAGESX ) /* int gdImageSX(gdImagePtr im) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 1, - hb_paramError( 1 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 1, + hb_paramError( 1 ) ); } } @@ -2041,12 +1937,9 @@ HB_FUNC( GDIMAGESY ) /* int gdImageSX(gdImagePtr im) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 1, - hb_paramError( 1 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 1, + hb_paramError( 1 ) ); } } @@ -2076,12 +1969,9 @@ HB_FUNC( GDIMAGEGETPIXEL ) /* int gdImageGetPixel(gdImagePtr im, int x, int y) * } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 3, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 3, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); } } @@ -2111,12 +2001,9 @@ HB_FUNC( GDIMAGEBOUNDSSAFE ) /* int gdImageBoundsSafe(gdImagePtr im, int x, int } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 3, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 3, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); } } @@ -2139,12 +2026,9 @@ HB_FUNC( GDIMAGEGETINTERLACED ) /* int gdImageGetInterlaced(gdImagePtr im) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 3, - hb_paramError( 1 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 3, + hb_paramError( 1 ) ); } } @@ -2167,12 +2051,9 @@ HB_FUNC( GDIMAGEGETTRANSPARENT ) /* int gdImageGetTransparent(gdImagePtr im) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 1, - hb_paramError( 1 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 1, + hb_paramError( 1 ) ); } } @@ -2195,12 +2076,9 @@ HB_FUNC( GDIMAGETRUECOLOR ) /* int gdImageTrueColor(gdImagePtr im) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 1, - hb_paramError( 1 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 1, + hb_paramError( 1 ) ); } } @@ -2232,12 +2110,9 @@ HB_FUNC( GDIMAGETRUECOLORTOPALETTE ) /* void gdImageTrueColorToPalette (gdImageP } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 3, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 3, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); } } @@ -2273,12 +2148,9 @@ HB_FUNC( GDIMAGECREATEPALETTEFROMTRUECOLOR ) /* gdImagePtr gdImageCreatePaletteF } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 3, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 3, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); } } @@ -2308,12 +2180,9 @@ HB_FUNC( GDIMAGEPALETTEPIXEL ) /* int gdImagePalettePixel(gdImagePtr im, int x, } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 3, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 3, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); } } @@ -2343,12 +2212,9 @@ HB_FUNC( GDIMAGETRUECOLORPIXEL ) /* int gdImageTrueColorPixel(gdImagePtr im, int } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 3, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 3, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); } } @@ -2371,12 +2237,9 @@ HB_FUNC( GDIMAGEGETTHICKNESS ) /* void gdImageGetThickness(gdImagePtr im) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 1, - hb_paramError( 1 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 1, + hb_paramError( 1 ) ); } } @@ -2503,13 +2366,10 @@ HB_FUNC( GDIMAGESTRING ) /* void gdImageChar(gdImagePtr im, gdFontPtr font, int } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 6, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 6, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ) ); } } @@ -2562,13 +2422,10 @@ HB_FUNC( GDIMAGESTRINGUP ) /* void gdImageCharUp(gdImagePtr im, gdFontPtr font, } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 6, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 6, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ) ); } } @@ -2699,14 +2556,11 @@ HB_FUNC( GDIMAGESTRINGFTEX ) } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 12, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), - hb_paramError( 9 ), hb_paramError( 10 ), hb_paramError( 11 ), hb_paramError( 12 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 12, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), + hb_paramError( 9 ), hb_paramError( 10 ), hb_paramError( 11 ), hb_paramError( 12 ) ); } } @@ -2777,14 +2631,11 @@ HB_FUNC( GDIMAGESTRINGFTCIRCLE ) /* char *gdImageStringFTCircle(gdImagePtr im, i } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 11, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), - hb_paramError( 9 ), hb_paramError( 10 ), hb_paramError( 11 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 11, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), + hb_paramError( 9 ), hb_paramError( 10 ), hb_paramError( 11 ) ); } } @@ -2823,12 +2674,9 @@ HB_FUNC( GDFONTGETWIDTH ) } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 1, - hb_paramError( 1 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 1, + hb_paramError( 1 ) ); } } @@ -2851,12 +2699,9 @@ HB_FUNC( GDFONTGETHEIGHT ) } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 1, - hb_paramError( 1 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 1, + hb_paramError( 1 ) ); } } @@ -2896,12 +2741,9 @@ HB_FUNC( GDIMAGECOLORALLOCATE ) /* int gdImageColorAllocate(gdImagePtr im, int r } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 4, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 4, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); } } @@ -2929,12 +2771,9 @@ HB_FUNC( GDIMAGECOLORDEALLOCATE ) /* void gdImageColorDeallocate(gdImagePtr im, } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -2975,13 +2814,10 @@ HB_FUNC( GDIMAGECOLORALLOCATEALPHA ) /* int gdImageColorAllocateAlpha(gdImagePtr } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 5, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 5, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ) ); } } @@ -3017,12 +2853,9 @@ HB_FUNC( GDIMAGECOLORCLOSEST ) /* int gdImageColorClosest(gdImagePtr im, int r, } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 4, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 4, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); } } @@ -3063,13 +2896,10 @@ HB_FUNC( GDIMAGECOLORCLOSESTALPHA ) /* int gdImageColorClosestAlpha(gdImagePtr i } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 5, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 5, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ) ); } } @@ -3105,12 +2935,9 @@ HB_FUNC( GDIMAGECOLORCLOSESTHWB ) /* gdImageColorClosestHWB(gdImagePtr im, int } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 4, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 4, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); } } @@ -3146,12 +2973,9 @@ HB_FUNC( GDIMAGECOLOREXACT ) /* int gdImageColorExact(gdImagePtr im, int r, int } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 4, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 4, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); } } @@ -3187,12 +3011,9 @@ HB_FUNC( GDIMAGECOLORRESOLVE ) /* int gdImageColorResolve(gdImagePtr im, int r, } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 4, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 4, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); } } @@ -3233,13 +3054,10 @@ HB_FUNC( GDIMAGECOLORRESOLVEALPHA ) /* int gdImageColorResolveAlpha(gdImagePtr i } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 5, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 5, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ) ); } } @@ -3267,12 +3085,9 @@ HB_FUNC( GDIMAGECOLORTRANSPARENT ) /* void gdImageColorTransparent(gdImagePtr im } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -3303,12 +3118,9 @@ HB_FUNC( GDTRUECOLOR ) /* int gdTrueColor(int red, int green, int blue) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 3, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 3, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); } } @@ -3341,12 +3153,9 @@ HB_FUNC( GDTRUECOLORALPHA ) /* int gdTrueColorAlpha(int red, int green, int blue } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 4, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 4, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ) ); } } @@ -3397,13 +3206,10 @@ HB_FUNC( GDIMAGECOPY ) /* void gdImageCopy(gdImagePtr dst, gdImagePtr src, int d } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 8, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 8, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ) ); } } @@ -3459,14 +3265,11 @@ HB_FUNC( GDIMAGECOPYRESIZED ) /* void gdImageCopyResized(gdImagePtr dst, gdImage } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 10, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), - hb_paramError( 9 ), hb_paramError( 10 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 10, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), + hb_paramError( 9 ), hb_paramError( 10 ) ); } } @@ -3522,14 +3325,11 @@ HB_FUNC( GDIMAGECOPYRESAMPLED ) /* void gdImageCopyResampled(gdImagePtr dst, gdI } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 10, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), - hb_paramError( 9 ), hb_paramError( 10 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 10, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), + hb_paramError( 9 ), hb_paramError( 10 ) ); } } @@ -3581,14 +3381,11 @@ HB_FUNC( GDIMAGECOPYROTATED ) /* void gdImageCopyRotated(gdImagePtr dst, gdImage } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 9, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), - hb_paramError( 9 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 9, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), + hb_paramError( 9 ) ); } } @@ -3639,14 +3436,11 @@ HB_FUNC( GDIMAGECOPYMERGE ) /* void gdImageCopyMerge(gdImagePtr dst, gdImagePtr } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 9, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), - hb_paramError( 9 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 9, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), + hb_paramError( 9 ) ); } } @@ -3697,14 +3491,11 @@ HB_FUNC( GDIMAGECOPYMERGEGRAY ) /* void gdImageCopyMergeGray(gdImagePtr dst, gdI } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 9, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), - hb_paramError( 9 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 9, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ), + hb_paramError( 9 ) ); } } @@ -3730,12 +3521,9 @@ HB_FUNC( GDIMAGEPALETTECOPY ) /* void gdImagePaletteCopy(gdImagePtr dst, gdImage } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -3763,12 +3551,9 @@ HB_FUNC( GDIMAGESQUARETOCIRCLE ) /* void gdImageSquareToCircle(gdImagePtr im, in } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -3795,12 +3580,9 @@ HB_FUNC( GDIMAGESHARPEN ) /* void gdImageSharpen(gdImagePtr im, int pct) */ } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -3830,12 +3612,9 @@ HB_FUNC( GDIMAGECOMPARE ) /* int gdImageCompare(gdImagePtr im1, gdImagePtr im2) } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -3863,12 +3642,9 @@ HB_FUNC( GDIMAGEINTERLACE ) /* void gdImageInterlace(gdImagePtr im, int interlac } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 2, - hb_paramError( 1 ), hb_paramError( 2 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 2, + hb_paramError( 1 ), hb_paramError( 2 ) ); } } @@ -3940,12 +3716,9 @@ HB_FUNC( GDIMAGEGIFANIMBEGIN ) } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 3, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 3, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ) ); } } @@ -4005,14 +3778,10 @@ HB_FUNC( GDIMAGEGIFANIMADD ) } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 8, - hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), - hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ) - ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 8, + hb_paramError( 1 ), hb_paramError( 2 ), hb_paramError( 3 ), hb_paramError( 4 ), + hb_paramError( 5 ), hb_paramError( 6 ), hb_paramError( 7 ), hb_paramError( 8 ) ); } } @@ -4053,13 +3822,9 @@ HB_FUNC( GDIMAGEGIFANIMEND ) } else { - /* Parameter error */ - { - hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, - HB_ERR_FUNCNAME, 1, - hb_paramError( 1 ) - ); - } + hb_errRT_BASE_SubstR( EG_ARG, 0, NULL, + HB_ERR_FUNCNAME, 1, + hb_paramError( 1 ) ); } }