Re: Anti-Aliased 2D drawing



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Scott Robert Ladd <gnome coyotegulch com> writes:

> I'm working on a program that draws relatively simple diagrams --
> involving lines of different styles and a few arcs -- on top of a base
> PNG image. Doing this using the standard GTK facilities isn't difficult,
> but the result is... well, rather rough (jagged, actually). As I
> understand it, Gtk+ does not support anti-aliasing natively.

Have you taken a look at libgnomecanvas?  Despite the name, it only
depends on GTK+, and it allows anti-aliased line drawings of arbitrary
size.

I don't know, but I suspect it will be replaced by, or depend upon,
Cairo at some point, but it's mature and usable right now.


Regards,
Roger

- -- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFCiOSEVcFcaSW/uEgRAijxAKCMV613HdoMC5ltPDbgEszhUSEIjQCgtJb1
+9tivX4nY/3hXVO6RtVayg8=
=k9vG
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]