Re: About buffering Cairo drawings



On Wed, 12 Dec 2007 08:40:07 +0300, Igor Gorbounov wrote:
> appears just after "cairo_context->stroke()" for every path. Is there
> any way to draw the drawings on some invisible thing and show them all
> at once?

In my program I draw everything to a cairo image surface, and then copy 
the image surface to the Gdk::Window.

But it might solve your problem just to use 
Gdk::Window::begin_paint_region and Gdk::Window::end_paint around your 
drawing code.

cheers,

John



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