On Sat, Nov 22, 2008 at 4:12 AM, Graham Cox <[EMAIL PROTECTED]> wrote: > Just noticed this, not what I was expecting. I'll file a bug unless someone > can convincingly explain it's correct behaviour... > > [NSGradient interpolatedColorAtLocation:<value>];
[snip] > For the case above this depends on whether the gradient will be drawn with > the colour extending flags set, but since this method doesn't know about > those flags, it's not well-defined. I would suggest that the method should > assume the flags are set, since that's a useful assumption, whereas the > opposite isn't. Well, from a terminology point of view, nil is the right answer. You can't "interpolate" beyond the end points. That's "extrapolation". _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]