Drawing with cairo

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

 



Hi,

I'm implementing my own widget to render some plots. In all the 
tutorials and help I've seen the cairo context, needed to draw, is 
_created_ in the on_expose_event() handler, so every time i have to 
redraw the plot I have to draw it completely!
My question is if there is a way of preserve the cairo context intact 
between the the calls to on_expose_event()? Why getting the cairo 
context in the on_realize() handler and storing it in a variable doesn't 
work?

Regards,
Diego A. Fons.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux