[Gtk-sharp-list] Gdk XOR Drawing Problem
flint07 at gmail.com
Fri Dec 19 08:34:58 EST 2008
Manuel Alejandro Cerón Estrada-2 wrote:
> When I assign the XOR function to the Gdk GC, I would expect that the
> first time I click on the Drawing Area, a rectangle should be drawn,
> the second time, the rectangle should be erased. The problem is that,
> once I set Xor as the function, the rectangle it is never draw. Other
> functions like Invert works fine, but Xor does not seem to work at
> all. Is there a problem with my code?
I am also having the same problem in my application, and I have not found a
workaround other than to write the code in C++, compile it in a shared
library, and import the functions into my Mono application. I am curious to
know if you or anyone else has found a solution to this problem, as the
shared library approach is undesirable for portability reasons.
View this message in context: http://www.nabble.com/-Gtk-sharp-list--Gdk-XOR-Drawing-Problem-tp7350267p21091384.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
More information about the Gtk-sharp-list