Re: CILinearGradient drawing backwards in 10.5
Re: CILinearGradient drawing backwards in 10.5
- Subject: Re: CILinearGradient drawing backwards in 10.5
- From: Michael Watson <email@hidden>
- Date: Thu, 1 Nov 2007 23:52:03 -0400
Since CoreImage is not part of AppKit, a fix to CoreImage wouldn't
necessarily change the AppKit version number.
Right now, I'm probably going to use Gestalt() to determine whether
or not my method should flip the CIVectors unless anyone has a better
idea.
--
m-s
On 01 Nov, 2007, at 22:28, Adam R. Maxwell wrote:
On Nov 1, 2007, at 7:13 PM, Michael Watson wrote:
Thanks for the find!
However, on second glance, it appears to be somewhat wrong:
These changes are implemented in a backwards compatible way. For
applications compiled on Mac OS X v10.4, these filters continue
to behave on Mac OS X v10.5 as they did previously.
I can compile a test application on Mac OS X 10.4.10 and the
gradient will indeed render backwards in 10.5. :-/
I see the same thing, so the docs seem to be wrong. I think you
just have to check the appkit version at runtime and swap the
colors, regardless of where you link it.
--
adam
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden