Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CILinearGradient drawing backwards in 10.5



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >CILinearGradient drawing backwards in 10.5 (From: Michael Watson <email@hidden>)
 >Re: CILinearGradient drawing backwards in 10.5 (From: Wade Tregaskis <email@hidden>)
 >Re: CILinearGradient drawing backwards in 10.5 (From: Michael Watson <email@hidden>)
 >Re: CILinearGradient drawing backwards in 10.5 (From: "Adam R. Maxwell" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.