g2 - Powerful, easy to use 2D graphics library

Property Value
Distribution NetBSD 8.1
Repository NetBSD i386
Package filename g2-0.50nb24.tgz
Package name g2
Package version 0.50nb24
Package release -
Package architecture i386
Package type tgz
Category graphics
Homepage -
License -
Maintainer -
Download size 90.01 KB
Installed size 389.50 KB
g2 is a simple to use graphics library for 2D graphical applications
written in Ansi-C.
This library provides a comprehensive set of functions for
simultaneous generation of graphical output on different types of
devices. Presently, following devices are currently supported by g2:
X11, GIF, PostScript (xfig and Win32 are in development).
One major feature of the g2_library is the concept of virtual
devices. An arbitrary number of physical devices (such as GIF, or X11)
can be grouped to create a so-called virtual device. Commands sent to
such a virtual devices will automatically issued to all attached
physical devices. This allows for example simultaneous output to a GIF
file and a Postscript file. A virtual device in turn can be attached
to another virtual device, allowing to construct trees of devices.
Virtual devices can also be useful when using different
user-coordinate systems. E.g. one X11 window showing an overview of a
graphical output, and a second window showing a zoom of a more
detailed area of the graphic. Drawing in both windows is performed by
one single command to the virtual device.


Package Version Architecture Repository
g2-0.50nb24.tgz 0.50nb24 amd64 NetBSD
g2 - - -


Name Value
gd >= 2.2.5nb2
perl >= 5.28.0 < 5.30.0


Type URL
Mirror ftp.netbsd.org
Binary Package g2-0.50nb24.tgz
Source Package g2

Install Howto

Install g2 tgz package:

# pkg_add g2



See Also

Package Description
g95-0.93nb11.tgz Fortran 95 compiler from g95.org
gabedit-2.4.8nb7.tgz Graphical User Interface to computational chemistry packages
gajim-1.1.3.tgz XMPP/Jabber chat client written in Python/GTK3
gajim-plugin-omemo-2.6.28.tgz OMEMO encryption support for Gajim
galaxa-0.1nb3.tgz Space game based loosely on "Galaga"
galculator-2.1.4.tgz Desktop calculator with scientific / RPN modes
gallery-1.5.10nb10.tgz Web-based photo gallery written in PHP
gallery-2.3.2nb1.tgz Web-based photo gallery written in PHP
gallery-dl-1.8.6.tgz Command-line program to download image galleries and collections
gamazons-0.83nb48.tgz GNOME program for playing the game Amazons
gambatte-0.4.1nb23.tgz Game Boy Color emulator
gambc-4.6.5.tgz GambitC Scheme System
game-music-emu-0.6.2.tgz Video game music file emulation/playback library
gamin-0.1.10nb6.tgz File alteration monitor
gammu-1.40.0.tgz Command line utility and library to work with mobile phones