Re: Improve DrawingArea drawing



On Fri, 2006-03-24 at 11:56 +0000, Josepo Urrutia wrote:
> I'm trying to draw a dinamicaly generated drawing into a Gtk::DrawingArea as 
> fast as is possible.

 [ ... ]

this is the kind of thing that the GnomeCanvas widget is for. it renders
into an RGBA buffer and then draws that to the on-screen drawable. it
has primitives for lines, polygons, text etc.

people castigate the canvas object mostly because of the low level
drawing engine behind it (libart_lgpl). its still very fast, and even
though the canvas widget is sort of dead, it appears reasonable to
believe that its API will continue to exist in a very similar form when
it is resurrected and back by cairo (an alternate rendering library
which can potentially use h/w acceleration if appropriate).

--p





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