[Y-devel] Libart for Pixelbuffer
Sebastian Faubel sfaubel at gmx.de
Mon Mar 8 02:08:47 GMT 2004
Hi people,
as the pixelbuffer i'm currently writing is quite stable now and can
already deal with png images, i was beginning implementing the vector
based part today.
As there were a few disuccsions already about which library to take for
this part, i was the most time favouring cairo for this job. But taking
a closer look, comparing Cairo vs. Libart, i have to admit that i'm now
honestly flirting with libart for the following reasons:
* Libart is widespread (i.e. Gnome) and considered stable.
In most cases this library is already installed on really a lot of
boxes, delivered with lots of distributions, so no extra installing
marathon is required.
Whereas cairo is not delivered in most linux distributions,
installing
it manually will be a pain in the ass for a lot of people. It has
still not reached a "stable" version.
* Libart delivers nearly the same vector drawing routines as cairo,
plus affine pixelbuffer manipulation functions, which
are pretty useful for modifing still images in the buffers
(rotating,scaling,etc...)
* Libart is also very fast.
* Libart is GPL.
* Libart is easy to use and more flexible.
* SVG support through cairo lacks really a lot of functionality, and
cannot be considered practically usable. Whereas there are a lot of
SVG libraries based on libart, which are conform to the most W3C
tests, are fast and also practically working.
* Libart is much better documented than cairo.
I'm keen on hearing your comments and thougts about that.
greetings,
sebastian
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved