[pygtk] antialias gnomecanvas? oops forgot code.
Michael Urman
murman at gmail.com
Wed Jul 26 21:41:40 WST 2006
On 7/26/06, Tobias Bengtsson <tobbe at tobbe.nu> wrote:
> Hi, I'm thinking about using gnomecanvas because I want support for
> antialiasing. According to pydoc I should set the property aa to get
> antialiasing enabled. I wrote a small test example to do this but it
> doesn't get antialiased. :-(
> At least not on my computer, ubuntu linux (dapper). Could you verify
> this and perhaps give me some hint about what's wrong?
Depending on what you want to do with the Canvas besides "get
antialiasing", you might be better off with using cairo on a
DrawingArea. What sort of behavior are you looking for?
http://www.tortall.net/mu/wiki/PyGTKCairoTutorial has some preliminary
code and examples, but I need to actually write the rest of this
tutorial (I've been working on the main cairo Tutorial that one links
to).
Michael
--
Michael Urman http://www.tortall.net/mu/blog
More information about the pygtk
mailing list