Agar is a powerful open-source, cross-platform toolkit for graphical applications in C, C++ or Objective-C (bindings to Perl and Ada are also available). Designed for ease of integration, Agar follows the philosophy of building the GUI around the application, and not the other way around. Agar applications should work seamlessly under any platform, and Agar itself should work without relying on other libraries (Agar 1.4 can be compiled without dependencies, and has even been used on embedded devices without filesystems or operating systems at all). When compiled with optional threads support, Agar's entire documented API is thread-safe.
The AG_Driver interface makes Agar applications portable to a wide variety of platforms, APIs and graphics systems (in either vector or raster mode). Agar applications can work under window-based platforms (such as Xlib, Windows API and MacOS X Quartz/Cocoa), and non-window-based environments (such as an SDL context). Unlike most GUI toolkits, Agar takes maximum advantage of modern graphics hardware where it is available, minimizing movement of data between CPU and GPU.
The base Agar library is intended to be as general and compact as possible. Separate libraries targetting more specialized applications include Agar-MATH (optimized math extensions), Agar-VG (vector graphics) and Agar-DEV (developer tools). The Agar-based FreeSG library implements a 2D/3D engine system with constraint solver and computational geometry routines. The Edacious suite implements a set of Agar classes useful in electronics design.
Agar is free software. Its source code is freely usable and re-usable by
everyone under a BSD license, which allows
use in commercial applications free of charge.
Agar is stable, well-maintained and has been growing organically since
2002.
The Agar project is sponsored by
Csoft.net Hosting
and
ElectronTubeStore.com.
| 12/10/2012 | A list of planned changes in the upcoming 1.6 and 2.0 releases is available. |
| 07/29/2012 | The online manual now displays images; several cosmetic fixes were also applied. |
| 03/20/2011 | New stable release: agar-1.4.1 (Landscapes of Frozen Methane) [What's new] |
| 04/16/2010 | New stable release: agar-1.4.0 (Landscapes of Frozen Methane) [What's new] |
| 08/30/2009 | New stable release: agar-1.3.4 (Pandemonic Incantation) [What's new] |
| 06/03/2009 |
Due to some changes in the build system, users of the latest
development version of Agar (as of r8187) who rely on the
make proj feature, must upgrade to
BSDBuild-2.5.
|
| 10/30/2008 | New stable release: agar-1.3.3 (Blackened Soil Remains) [What's new] |
| 03/02/2008 | New stable release: agar-1.3.2 (Landscapes Turn To Ash) [What's new] |
| 03/02/2008 | Created agar-commits mailing list for automated commit notifications of the Agar source code exlusively. Note that the previous source-diff list will continue to receive notices as well. The new list provides a RSS feed. |
If you have any questions, comments or suggestions, don't hesitate to contact the maintainer. There are also forums and an #agar channel on irc.freenode.net (here is a web interface to it).
Your feedback and contributions
help us build a better library with better documentation.
Don't hesitate to send us your bug reports and enhancement/feature
requests with
Bugzilla.
"A display connected to a digital computer gives us a chance to gain familiarity with concepts not realizable in the physical world. It is like a looking glass into a mathematical wonderland." -- Ivan Sutherland

