Libart
{{Infobox software
| name = Libart
| developer = Raph Levien
| discontinued = yes
| latest release version = 2.3.21
| latest release date = {{Start date and age|2010|04|01}}
| programming language = C
| operating_system = Cross-platform
| genre = Graphics library
| website = [http://levien.com/libart/ levien.com]
}}
Libart is a free software graphics library of functions for 2D graphics supporting a superset of the PostScript imaging model. Libart was designed to be integrated with graphics, artwork, and illustration programs. It is written in optimized C and is fully compatible with C++. With a small footprint of 10,000 lines of code, it is especially suitable for embedded applications.
Libart provides a vector graphics-based API. Cairo obsoletes almost all uses of libart{{Citation needed|date=August 2023}}.
Libart supports a very powerful imaging model, basically the same as SVG and the Java 2D API. It includes all PostScript imaging operations, and adds antialiasing and alpha-transparency.
History
Libart was a library for high-performance 2D graphics. Prior to being replaced with Cairo, it had been used as the anti-aliased rendering engine for the Gnome Canvas and for Gill, the Gnome Illustration app.
Gdk-pixbuf used to be a wrapper around libart.
A component of Libart, containing all functions needed for printing and running GNOME Canvas, was released under the LGPL{{When?|date=August 2023}}. The version maintained under the GPL contained enhancements for unspecified specific applications.{{cite web |url=https://gitlab.gnome.org/Archive/libart_lgpl/-/blob/master/README |title=README |department=Archive/libart_lgpl |website=GNOME GitLab |date=24 January 2005 |access-date=2021-10-13}}
= Notable usage =
- Eye of GNOME used libart
- The also abandoned GNOME Canvas widget uses Libart as its rendering API.
- GIMP used Libart for vector rendering.
- Dia could use Libart for antialiasing and PNG export.
References
{{reflist}}
External links
- {{official website}}
- [https://www.levien.com/svg/ Gnome Illustration app] (levien.com)
- [https://people.gnome.org/~mathieu/libart/libart.html The libart library – a tutorial] (gnome.org)
{{compu-graphics-stub}}