Re: Moving a pixmap "sideways"



G Hasse <gh raditex se> writes: 
This works nice and is flickerfree BUT!!! The performance is
lousy! Is there a way just to move the pixmap (copy it in
the X-server) and just redraw the begining every time?

You can copy the existing drawing area contents with
gdk_window_copy_area(). Performance really shouldn't be that bad
though... there may be something else that's slow, other than copying
the new pixmap.

Havoc



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