Files
harbour-core/harbour/contrib/gd
Viktor Szakats 050bed0d99 2007-11-10 17:24 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* make_b32.bat
   * make_vc.bat
   * contrib/xhb/make_b32.bat
   * contrib/xhb/make_vc.bat
   * contrib/libmisc/make_b32.bat
   * contrib/libmisc/make_vc.bat
   * contrib/pgsql/make_b32.bat
   * contrib/pgsql/make_vc.bat
   * contrib/apollo/make_b32.bat
   * contrib/apollo/make_vc.bat
   * contrib/libnf/make_b32.bat
   * contrib/libnf/make_vc.bat
   * contrib/gd/make_b32.bat
   * contrib/gd/make_vc.bat
   * contrib/htmllib/make_b32.bat
   * contrib/htmllib/make_vc.bat
   * contrib/tip/make_b32.bat
   * contrib/tip/make_vc.bat
   * contrib/libct/make_b32.bat
   * contrib/libct/make_vc.bat
   * contrib/adordd/make_b32.bat
   * contrib/adordd/make_vc.bat
   * contrib/pdflib/make_b32.bat
   * contrib/pdflib/make_vc.bat
   * contrib/rdd_ads/make_b32.bat
   * contrib/rdd_ads/make_vc.bat
   * contrib/libgt/make_b32.bat
   * contrib/libgt/make_vc.bat
   * contrib/btree/make_b32.bat
   * contrib/btree/make_vc.bat
   * contrib/win32/make_b32.bat
   * contrib/win32/make_vc.bat
   * contrib/directx/make_b32.bat
   * contrib/directx/make_vc.bat
   * contrib/samples/make_b32.bat
   * contrib/samples/make_vc.bat
   * contrib/mysql/make_b32.bat
   * contrib/mysql/make_vc.bat
   * contrib/odbc/make_b32.bat
   + contrib/odbc/make_vc.bat
   * contrib/bmdbfcdx/make_b32.bat
   * contrib/bmdbfcdx/make_vc.bat
   * contrib/hgf/win32/make_b32.bat
   * contrib/hgf/win32/make_vc.bat
     ! Readded COPYCMD "hack" to core Harbour for fully portable
       "copy /y" functionality across all Micro$oft operating systems.
     + Same feature added for all contribs.

   * contrib/hbzlib/make_b32_dll.bat
   * contrib/hbzlib/make_b32_dll.mak
   * contrib/hbzlib/make_b32.bat
   - contrib/hbzlib/make_b32.mak
   * contrib/hbzlib/make_vc.bat
   - contrib/hbzlib/make_vc.mak
   + contrib/hbzlib/common.mak
     + Standardized make files (and some cleanup along the way)
     ; TODO: BC dll creating is still to be cleaned.
     ; TOFIX: Lots of warnings if compiled with standard BCC switch set.
     ; TOFIX: Lots of warnings when compiler for MSVC.

   * contrib/hgf/win32/win32.c
   * contrib/hgf/win32/form.prg
     ! Fixed one unused var warning in .prg code.
     ! Fixed to not use Harbour internals.
       (Petr, this should have the same effect as your request, 
       but pls test this change.)
2007-11-10 16:31:36 +00:00
..

/*
 * $Id$
 */

/*
 * The following parts are Copyright of the individual authors.
 * www - http://www.xharbour.org http://www.harbour-project.org
 *
 * Copyright 2004-2005 Francesco Saverio Giudice <info@fsgiudice.com>
 *    README file explaining howto compile GD
 *
 * See doc/license.txt for licensing terms.
 *
 */

hbgd library is a wrapper around www.libgd.org graphic library

FOLDERS
=======

Folder structure:
  /
  +- doc            : help & license files
  +- include        : gd c include files
  +- samples        : samples folder
  |  |
  |  +- counter     : a sample counter
  |
  +- tests          : test files
     |
     +- digits      : some digits images from 
     |                http://www.digitmania.holowww.com/all.html 
     |                for counter.prg test sample
     +- images_in   : sample images
     +- images_out  : output of test images

COMPILING
=========

Actually platforms supported are:
- Win32 / BCC32
- GNU systems / GCC

to build library on Win32 with BCC use:
   Download bgd.dll from this link:
   http://www.libgd.org/Downloads (Windows.DLL)
   and put a copy of it in this folder and in tests folder
then
   make_b32.bat

on GNU system use:
   make install

   ** requirements: gd, gd-devel, libpng, libpng-devel, libjpeg, libjpeg-devel,
                    freetype, freetype-devel, zlib, zlib-devel

DOCUMENTATION
=============

Not yet finished hbgd.txt is the help file.

SAMPLES
=======

For samples look at tests dir.
gdtest.prg      is an API test application
gdtestcls.prg   is a GDImage/GDChart Class test application
test_out.prg    is a sample of a cgi application for windows (I have to complete it).
antialiased.prg shows how apply anti-alias to lines.
animgif.prg     is a sample to create an animated gif.
bartest.prg     is a sample to create barcodes with GD Library.
counter.prg     is sample applications of a graphic web counter.

to compile:
   in Windows/BCC : bldtest.bat <app_without_prg_ext> (for full static)
   in Linux       : . bldtest.sh <app_without_prg_ext>