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




On Nov 1, 2007, at 8:52 PM, Michael Watson wrote:

Since CoreImage is not part of AppKit, a fix to CoreImage wouldn't necessarily change the AppKit version number.

To clarify: I'll check if(floor(NSAppKitVersionNumber >
NSAppKitVersionNumber10_4)) to determine if I'm running on Leopard or Tiger, since I don't think it's likely that Apple will change CoreImage to only reverse gradients when linking on 10.5.


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.

There was an exceedingly long discussion on the merits of Gestalt() vs. other version checking methods on macosx-dev a week or so ago. It's archived, so hopefully that doesn't start up again here :).


--
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>)
 >Re: CILinearGradient drawing backwards in 10.5 (From: Michael Watson <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.