Re: Drawing on top of GnomeCanvas?



On Mon, 2002-05-20 at 11:46, Gustavo Carneiro wrote:

  No no! I want to perform a rubber-banding effect using XOR lines. I
*have* to draw at any time, in response to mouse events. I'm drawing but
I cannot see anything. Any suggestion?

Because as soon as an expose happens, it's lost.
Instead of drawing in response to mouse events, force an expose in
response, and draw in the expose.

iain 
-- 
"Everybody thinks of changing humanity and nobody thinks of changing
himself"
        - Leo Tolstoy.




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