Re: GDK drawing problem



From: "cowboy cowboy" <yong_zhy hotmail com>

Can anyone give a suggestion on how to remove the primitives
already drawn on screen?

You should keep a list of visible primitives.
When one visible primitive goes off, clean the whole drawable.
Then go through the visible list and draw all of them again.
Use double buffered drawable for removing flicker.

Regards,
Juhana



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