discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Jigsaw.app maintenance.


From: address@hidden
Subject: Re: Jigsaw.app maintenance.
Date: Sun, 17 Jun 2007 23:03:07 -0700
User-agent: G2/1.0

> 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]