Christopher Barker wrote: > Paul McNett wrote: >> Unfortunately on Linux I'm getting a segfault with that test on the last >> line in the >> following block: > >> It does seem to run fine on Mac, though. > > I think I was running that code on a Mac. Take a look in FloatCanvas.py > for the GetHitTestColor method, and see how it is done there.
I was layed up for a few hours in the hospital just now, and I fixed FC using your premise of iterating through the colors until one works. For 16-bit, it is approximately every 8 cycles (but not exactly). Now I'm going to test on each platform, and submit a patch. Where do you want it? This list? Trac? Paul _______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
