[Gtk-sharp-list] Drawing problem ....

Ivan N. Zlatev contact at i-nz.net
Thu Dec 1 16:25:52 EST 2005

Here is a test MonoDevelop project:


To reproduce the lost drawing behaviour resize or minimize -> restore
the window. Thanks again!

Ivan N. Zlatev wrote:
> Hi all,
> I am new to Gtk-Sharp and C#, but I am trying to code an improved
> Scribble app, where the user can draw a solid line whatever the mouse
> speed movement is. I am also trying to use the AntiAliasing offered by
> System.Drawing. What I do is to track the mouse cursor during the
> MotionNotifyEvent,when Button1 is pressed, and connect the points via
> saved coordinats (StartPoint, EndPoint). The thing is that at a time all
> the drawing using System.Drawing disappers and only the one done with
> Gdk is left. This is my code:
> http://rafb.net/paste/results/uRbBp715.html
> Could you please guide me (if possible with a code fix) how to fix this
> problem? Thank you very much in advance!!!
> Ivan.
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

More information about the Gtk-sharp-list mailing list