★ wanayoo — archive 1999 http://g2.sourceforge.net/Nouvelle recherche | Portail wanayoo

g2 graphical library

Current version: 0.40

g2 is an easy to use, portable and powerful 2D graphics library. It provides a comprehensive set of functions for simultaneous generation of graphical output on different types of devices. Following devices are currently supported: PostScript, X11, GIF (using gd) and Win32 (xfig is in development). g2 is written in C (ANSI) and additionally has a Fortran and perl interface. See the g2 screenshots.
For comments, questions or bugreports please visit g2 project page.

  • 03.02.1999 - version 0.40 released
  • 08.06.1999 - new screenshots added
  • 04.02.2000 - migration to sourceforge


g2 is easy to use

in Cin Fortranin perl

 d=g2_open_X11(50,50);
 g2_line(d,5,5,45,45);
 g2_circle(d,25,25,20);

 d=g2_open_X11(50.0,50.0)
 call g2_line(d,5.0,5.0,45.0,45.0)
 call g2_circle(d,25.0,25.0,20.0)

 $d=new X11G2::Device(50,50);
 $d->line(5,5,45,45);
 $d->circle(25,25,20);

g2 is portable

g2 is tested on: Linux, AIX, Digital Unix, SunOS, IRIX, VMS, WindowsNT/2000

g2 supports

PostScript, X11, GIF and Win32


Documentation

g2 manual
README
CHANGES

Coming soon

splines
fig interface
scientific colormap
new device templates

Links

Python Wrappers for the g2 by Kevin Dahlhausen
Scientific Applications on Linux
gd GIF library


Download g2 library


Ljubomir Milanovic, Horst Wagner