|
Agar-VG
is a simple 2D vector graphics library included in the
Agar
distribution.
It allows developers to specify vector drawings consisting of elements
such as lines, polygons, arcs, text and user-interface controls.
Linear transformations can be applied to sketch entities.
The library also implements a visualization widget and a "tool" system
to faciliate user interface design.
Both framebuffer and OpenGL rendering modes are supported.
Agar-VG is best suited for use in applications where the vector drawings
are composed of symbols and user-interface controls. For example, the
graphical circuit editor in
Agar-EDA
is based on this library.
For applications where the vector drawings are themselves accurate
representations of dimensioned entities, such as technical drawings
and sketches in sketch-based CAD applications, the SK library in
FreeSG
is a much better option, since it supports dimensions and solving of
geometric constraint systems.
|