> BTW, here's a suggestion. This puzzle desperately needs no-rectangular > views. Why shouldn't GNUstep innovate ahead of Cocoa and provide an > implementation of views whose boundaries are generic Bezier paths?
because Cocoa already has this by using transparency and/or bezier clipping. Just mark the rectangular view non-opaque (so that the needsDisplay mechanism knows), set a bezier clipping path in the beginning of drawRect: and you are done. Nikolaus BTW: I have tried to compile Jigsaw on MacOS X and mySTEP and to do that I had to clean up/modify the code a little. One interesting aspect is that it heavily uses the PS operators - and that compiles well on MacOS X although they are completely undocumented and they are not part of the AppKit headers! Unfortunately, it makes the WindowServer hang. So, I will also fix that and replace by "official" AppKit calls (e.g. PSrectfill -> NSRectFill) _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
