Re: GdkFont->Pango replacement



Deepa Chacko Pillai <deepa chacko wipro com> writes: 
> I am using gdk_window_invalidate_rect () to invalidate the area to be
> redrawn. My expose_event handler is using  gdk_draw_drawable (). Should this
> be changed?

If the pixmap backing store is purely to avoid flicker, it's not
needed in GTK 2.

> Could you please tell me what I am doing wrong here. Is there any way by
> which I can improve the time taken to draw the strings.

Creating layouts is a bit slow; maybe you need to keep them around
between expose events?

What program is this?

Havoc



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