swig/Examples/GIFPlot
William S Fulton 8c71c0bf21 explicit type warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-30 11:42:52 +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 modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes. 2008-11-26 21:35:15 +00:00
Lib explicit type warning fix 2008-12-30 11:42:52 +00:00
Ocaml Fixed GIFPlot examples. 2004-11-03 17:14:51 +00:00
Perl5 modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes. 2008-11-26 21:35:15 +00:00
Php modify build system to use php instead of php4 2008-12-06 21:55:15 +00:00
Pike Remove cvsignore files: this is stored on svn:igonre property now 2006-12-03 08:28:42 +00:00
Python modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes. 2008-11-26 21:35:15 +00:00
Ruby modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes. 2008-11-26 21:35:15 +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)