Skip to content

ADG canvas 0.9.0 released

Pre-release
Pre-release
Compare
Choose a tag to compare
@ntd ntd released this 31 Dec 10:16
· 197 commits to master since this release

ADG is a GObject-based library that provides a non-interactive cairo canvas specifically designed for generating technical drawings. More details can be found on its home page.

  • Three new dresses have been added to address different quote types: ADG_DRESS_DIMENSION_ANGULAR (that formats numbers in sexagesimal units, bound by default to AdgADim instances), ADG_DRESS_DIMENSION_RADIUS (that prefixes values with R, bound to AdgRDim instances) and ADG_DRESS_DIMENSION_DIAMETER (that prefixes the value with a diameter symbol).
  • The text generation algorithm has been greatly improved. The AdgDimStyle object now has 3 specific properties dedicated to the formatting of quotes: number-format, number-arguments
    and decimals. This allows, among other things, to properly render sexagesimal angles.
  • Some enum type has been converted to int on public APIs. enum variables cannot precede ellipsis arguments: the last non ellipsis argument will be promoted to int and if the enum is not the same size (it could happen!) bad things will happen.
  • A backward compatibility bug that prevented out of the box building of the project on old platforms has been fixed.
  • The testing provided by Travis-CI has been improved by building for GTK+2 and GTK+3 by using both gcc and clang.
  • The Windows installer now includes Lua support. To be able to have that enabled by default, gobject introspection has been ported to Windows.