I have a major wxPython app which relies heavily on the logical functions to work correctly.
It's probably customary to provide a code sample, but the wxMask demo shows this as well as anything.
From this, it is clear that many of these are working incorrectly when compared to wxGTK or wxMSW. The only ones that seem to work are wxCLEAR, wxSET, and (maybe) wxINVERT
I checked wxWindows out of CVS (from the head) and noted that the "Mask screen" in the drawing sample seems to be correct -- so it's not a wxWindows-level problem. However, the wxPython wxMask demo is still incorrect.
What is the status of this, and should I add this to the wxPythonOSX issues wiki page?
I have a major wxPython app which relies heavily on the logical functions to work correctly.
It's probably customary to provide a code sample, but the wxMask demo shows this as well as anything.
From this, it is clear that many of these are working incorrectly when compared to wxGTK or wxMSW. The only ones that seem to work are wxCLEAR, wxSET, and (maybe) wxINVERT
I checked wxWindows out of CVS (from the head) and noted that the "Mask screen" in the drawing sample seems to be correct -- so it's not a wxWindows-level problem. However, the wxPython wxMask demo is still incorrect.
Did you build the CVS HEAD version of wxPython and check it there? It seems to be nearly perfect to me. (Although I had to tweak the code just a tiny bit to get it to deal with the monochrome bitmap without asserting. I'll be checking that in soon.)
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Aha! It seems I didn't have head checked out before. Looks great. Thanks.
···
On Feb 13, 2004, at 3:02 PM, Robin Dunn wrote:
Michael Droettboom wrote:
I have a major wxPython app which relies heavily on the logical functions to work correctly.
It's probably customary to provide a code sample, but the wxMask demo shows this as well as anything.
From this, it is clear that many of these are working incorrectly when compared to wxGTK or wxMSW. The only ones that seem to work are wxCLEAR, wxSET, and (maybe) wxINVERT
I checked wxWindows out of CVS (from the head) and noted that the "Mask screen" in the drawing sample seems to be correct -- so it's not a wxWindows-level problem. However, the wxPython wxMask demo is still incorrect.
Did you build the CVS HEAD version of wxPython and check it there? It seems to be nearly perfect to me. (Although I had to tweak the code just a tiny bit to get it to deal with the monochrome bitmap without asserting. I'll be checking that in soon.)
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-dev-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-dev-help@lists.wxwindows.org