Re: Drawing antialiased shapes with alpha transparency



>The reason for this is that I am creating a Canvas drawing all kinds of
>shapes and I want to cache some shapes in a Pixmap, which is a member of
>the Component (Composite Pattern).

if you use an AA canvas, you can forget all this stuff. just render
whatever you need to draw to an RGB buffer, add the "A" (for alpha)
and render it into the canvas as a canvas image item.

GTK has no AA support natively except for fonts.

--p



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