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

Ivan N. Zlatev contact at i-nz.net
Thu Dec 1 15:08:57 EST 2005


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.


More information about the Gtk-sharp-list mailing list