Matt Wilson <[EMAIL PROTECTED]> writes:

> On Sun, Mar 12, 2000 at 11:36:22PM -0500, François Pinard wrote:
> > The code below shows the case of a line needing anti-aliasing.
> > Would someone knowledgeable tell me if/how I can, within `pygtk',
> > produce an anti-aliased line, or else (:-), how I could handle an
> > alpha channel for later display?  And if you see anything else
> > stylistically or logically wrong with this tiny program, also tell
> > me, as I'm still learning how to do my first steps!
> 
> The easiest way to do this by far is to use the canvas.  The
> "aa=TRUE" argument turns on anti-aliasing.  It also does alpha
> chanel for you.  With your program, you would also have to handle
> expose events and repaint the exposed area.  The canvas does all
> this for you.
...

When I run your program, I get:

% python a.py
GnomeUI-Message: The antialiased canvas is buggy.  Please do not use it unless you 
know what you are doing.

A window opens, but no contents in it.
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to