[pygtk] cairo speed
David Ripton
dripton at ripton.net
Thu Dec 4 14:27:02 WST 2008
On 2008.12.03 11:34:00 +0100, Frédéric wrote:
> I'm using the basic drawing functions of a DrawingArea, and I was
> wondering if using cairo module would speed up things? I can draw a lot
> of rectangles (from 10 to 500), for which I change colors, and the
> refresh takes some time on Nokia/maemo plateform.
>
> Do you think cairo will be better here?
Yes.
I just tested it, and Cairo was significantly faster on my box. (About
0.03s vs. 0.13s on average. YMMV.)
My test program is here:
http://ripton.net/blog/?p=32
--
David Ripton dripton at ripton.net
More information about the pygtk
mailing list