Antialiasing lines, Gdk::Drawable

Anybody have any tips on if antialiasing lines is possible in with Gtk?
I’ve got a boat load of lines I draw on a Gdk:Drawable that would look
very pretty antialiased on a white background.

On Tue, Jul 31, 2007 at 01:20:29AM +0200, Conan R. wrote:

Anybody have any tips on if antialiasing lines is possible in with Gtk?
I’ve got a boat load of lines I draw on a Gdk:Drawable that would look
very pretty antialiased on a white background.

I would suggest you look at using Cairo (http://www.cairographics.org/)
via rcairo to do this. You can get a cairo context by doing
drawable.create_cairo_context, and go from there.

-pete


This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

That looks cool, but I don’t need antialiased lines enough to add
another library.

Oh well.

Peter J. wrote:

On Tue, Jul 31, 2007 at 01:20:29AM +0200, Conan R. wrote:

Anybody have any tips on if antialiasing lines is possible in with Gtk?
I’ve got a boat load of lines I draw on a Gdk:Drawable that would look
very pretty antialiased on a white background.

I would suggest you look at using Cairo (http://www.cairographics.org/)
via rcairo to do this. You can get a cairo context by doing
drawable.create_cairo_context, and go from there.

-pete


This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

Gdk itself doesn’t support antialiasing. Cairo it the only option.

Am Dienstag, den 31.07.2007, 19:11 +0200 schrieb Conan R.:

Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/


This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/