Looking for the latest version? Download Source tarball (.tar.bz2) (1.0 MB)
Home / adg
Name Modified Size Downloads / Week Status
Parent folder
Totals: 31 Items   5.1 kB 1
testing 2014-03-31 1 weekly downloads
0.7.4 2013-10-14 12 weekly downloads
0.7.3 2013-04-06 1 weekly downloads
0.7.2 2013-03-25 1 weekly downloads
0.7.1 2013-03-14 2 weekly downloads
0.7.0 2013-02-16 2 weekly downloads
0.6.6 2012-10-22 1 weekly downloads
0.6.5 2012-03-25 1 weekly downloads
0.6.4 2012-03-24 1 weekly downloads
0.6.3 2011-03-20 1 weekly downloads
0.6.2 2011-01-09 1 weekly downloads
0.6.1 2010-07-05 2 weekly downloads
0.6.0 2010-05-07 1 weekly downloads
0.5.6 2010-02-21 1 weekly downloads
0.5.5 2010-01-19 1 weekly downloads
0.5.4 2009-11-22 1 weekly downloads
0.5.3 2009-10-19 1 weekly downloads
0.5.2 2009-10-01 1 weekly downloads
0.5.1 2009-09-15 1 weekly downloads
0.5.0 2009-08-20 1 weekly downloads
0.4.3 2009-07-04 1 weekly downloads
0.4.2 2009-06-16
0.4.1 2009-03-12 1 weekly downloads
0.4.0 2009-01-14
0.3.2 2008-10-25
0.3.1 2008-08-13 1 weekly downloads
0.3.0 2008-07-14
0.2.2 2008-06-28
0.2.1 2008-05-21 1 weekly downloads
0.2.0 2006-12-22 2 weekly downloads
README 2011-01-09 5.1 kB 11 weekly downloads
General information =================== Automatic Drawing Generation is GObject-based library that provides a non-interactive cairo canvas specifically designed for generating technical drawings. If you want to develop an application that needs to show and print drawings where some data change but the overall design is always the same, the ADG library can be quite useful. In manufacturing industries this is often a good choice and could help to greatly improve the productivity of technical offices. You could reach similar targets using parametric CADs but a custom application provides the following benefits: * more customizable; * quicker and not so bloated as a parametric CAD; * can be easily connected to a database; * an ADG based filter can generate drawing on-fly: this feature could be used in web-based application. For further details, visit the ADG home page (http://adg.entidi.com/). Design overview =============== The project grew up around the GObject (http://www.gtk.org/) library: the ADG canvas is developed in plain C using the object-oriented approach supplied by GObject. The mathematical and geometrical algorithms, together with some useful function to manipulate cairo paths, are kept in a separated library. Although the CPML library (Cairo Path Manipulation Library) is scattered across the ADG tree, it can be easily splitted on its own in future, if requested. The rendering is based on the cairo engine (http://cairographics.org/), so the ADG project fully shares strong and weak points of the underlying cairo library. For the optional database connectivity, my suggestion is to take a look to the libgda (http://www.gnome-db.org/) project, partly because it is a good and actively maintained project and partly because it uses the ADG technologies (object-oriented C code using GObject), so can be easily integrated in a single application. External dependencies ===================== The ADG library has the following dependencies: * glib (http://www.gtk.org/) 2.10.1 or later (required) * cairo (http://cairographics.org/) 1.7.4 or later (required) * gtk+ (http://www.gtk.org/) 2.12.0 or later (optional), needed by the adg-demo program * gtk-doc (http://www.gtk.org/gtk-doc/) 1.9 or later (optional), used to regenerate the API documentation The required packages must be installed prior the ADG building: they should be provided by nearly every decent unix-like system. The ADG is mainly developed on GNU/Linux systems but its dependecies are known to be cross platform so a porting should be quite easy (if not automatic). Installation ============ The ADG build system is based on GNU autotools, the de-facto standard for managing free software projects. 1. Download the ADG tarball and put it somewhere in your file system, where you have write access (your home directory is a good candidate). You can browse the old releases or get the latest tarball from sourceforge (http://sourceforge.net/projects/adg/files/). 2. Unpack the tarball. Use the version you downloaded in the previous step instead of 0.6.0: ------------------------------------------------------------------ tar xjvf adg-0.6.0.tar.bz2 ------------------------------------------------------------------ 3. Configure the build. You can set different options while configuring: check the output of ./configure --help to get all the available options. Furthermore, the INSTALL file gives you a detailed description of the common options. ------------------------------------------------------------------ cd adg-0.6.0 ./configure ------------------------------------------------------------------ 4. Build the ADG library. ------------------------------------------------------------------ make ------------------------------------------------------------------ Once the building has finished, you are able to run the demo program without installing anything. Just try it out: ------------------------------------------------------------------ ./demo/adg-demo ------------------------------------------------------------------ 5. Install the ADG library on your system. You must have root privileges to do that or you have to configure a target directory (the --prefix option in configure) that is user-writable. ------------------------------------------------------------------ make install ------------------------------------------------------------------ If you have sudo access you can use it by prefixing the installation command to temporary gain root privileges: ------------------------------------------------------------------ sudo make install ------------------------------------------------------------------ 6. You can uninstall the ADG whenever you want by typing: ------------------------------------------------------------------ make uninstall ------------------------------------------------------------------ from inside the ADG build directory (or sudo make uninstall). Just be sure to have the same privileges you had when installing it.
Source: README, updated 2011-01-09