swig/Examples/GIFPlot
Haoyu Bai 3d8ddfc442 Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken.
This is the (incomplemete) log produced by svnmerge.py:

Merged revisions 10405-10409,10420-10422,10426,10438,10445,10451,10454-10465,10467,10473-10475,10485,10488-10489,10493-10495,10497,10509-10510,10513-10514,10517,10520,10525,10528-10529,10533-10535,10554-10557,10570,10573,10593,10614,10666-10669,10673,10678,10687,10690,10704-10706,10731,10744,10750-10752,10755,10759,10770,10775-10776,10813,10819 via svnmerge from 
https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-bhy



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-11 17:18:07 +00:00
..
Chicken Remove cvsignore files: this is stored on svn:igonre property now 2006-12-03 08:28:42 +00:00
Common-Lisp/full The great merge 2002-11-30 22:01:28 +00:00
Guile Remove cvsignore files: this is stored on svn:igonre property now 2006-12-03 08:28:42 +00:00
Include Removed deprecated pragmas 2003-04-03 12:12:22 +00:00
Interface Use SWIGPHP instead of SWIGPHP4 2006-09-29 10:09:23 +00:00
Java Remove cvsignore files: this is stored on svn:igonre property now 2006-12-03 08:28:42 +00:00
Lib Remove cvsignore files: this is stored on svn:igonre property now 2006-12-03 08:28:42 +00:00
Ocaml Fixed GIFPlot examples. 2004-11-03 17:14:51 +00:00
Perl5 Remove cvsignore files: this is stored on svn:igonre property now 2006-12-03 08:28:42 +00:00
Php4 Remove cvsignore files: this is stored on svn:igonre property now 2006-12-03 08:28:42 +00:00
Pike Remove cvsignore files: this is stored on svn:igonre property now 2006-12-03 08:28:42 +00:00
Python Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken. 2008-09-11 17:18:07 +00:00
Ruby Remove cvsignore files: this is stored on svn:igonre property now 2006-12-03 08:28:42 +00:00
Tcl Remove cvsignore files: this is stored on svn:igonre property now 2006-12-03 08:28:42 +00:00
Makefile.in Replace ; with && where appropriate. This fixes the makefiles so that Make correctly errors out rather than blindly carrying on when some error occurs. 2004-02-20 22:57:23 +00:00
README updated links 2006-11-23 13:33:27 +00:00

GIFPlot
=======

To illustrate various SWIG features, the following examples involve
building an interface to a small, but somewhat useful graphics library
for creating 2D and 3D images in the form of GIF files.  The Perl,
Python, Tcl, Java, Ruby etc. directories contain various examples specific to
those languages.

This library was originally developed as part of the SPaSM molecular
dynamics project at Los Alamos National Laboratory.  However, due to
patent enforcement issues related to LZW encoding and a general lack
of time on the part of the author, the library was never officially
released.  On the plus side, a number of people have found it to be a
useful easter egg within the SWIG distribution :-).

<LEGAL>
DUE TO PATENT RESTRICTIONS ON THE LZW COMPRESSION ALGORITHM, THIS
LIBRARY ONLY PRODUCES UNCOMPRESSED GIF FILES.  SO THERE.
</LEGAL>

Building the Library
====================

In order to run the examples, it is first necessary to build the GIFPlot
C library.  To do this, simply run make:

	make

Running the Examples
====================

Once the library has been built, go to your chosen language directory,
that is, Perl, Python, Tcl, Java, Ruby etc. Each example should have a
README file with a description.

Each example can be compiled using the makefile in each example directory. This
makefile uses the top level makefile in the "Examples" directory of the distribution.
If the example doesn't compile, you will need to adjust the settings in this file.

Documentation
=============

Read the source Luke.   The examples should be pretty much self-explanatory.
The header file Include/gifplot.h contains the full API.

The original documentation for the library can be found online at:

          http://www.dabeaz.com/gifplot/index.html


Let me know what you think!
===========================
If you found this example to be useful, confusing, or otherwise, I would like to know
about it.   Suggestions for improvement are welcome.

-- Dave (dave@dabeaz.com)