Andreas Höschler wrote: > [[NSColor lightGrayColor] set]; > NSFrameRect(rect); > > NSBezierPath *path = [NSBezierPath bezierPath]; > .... > [path stroke]; > > draws a gray rect and a gray line (as it should) on MacOSX. However, on > GNUstep the rect is gray but NSBezierPath does not seem to honor > -[NSColor set]. The path is drawn in black!? > > What am I missing? >
Not sure what you are missing, but even without testing the GNUstep code I am sure it is working. So the problem must be in your code. From the sniplet you send us it looks like you never put any coordinates into the NSBezierPath. If this is true, nothing should be drawn at all and what ever you see is caused by something else. Either you send some more code, eg a working example, or you will have to investigate your own code. Cheers, Fred _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
