I read the tech note for 10.5 describing changes to CILinearGradient and how
"for applications compiled on Mac OS X v10.4, these filters continue to
behave on Mac OS X v10.5 as they did previously."
Trying to interpret this imprecise statement, I read it as "for applications
compiled against the 10.4 SDK."

However, I build my application (on 10.5) against the 10.4 SDK and run it on
10.5.2 and it turns out that it just uses the newer (10.5) behavior and my
gradients are backwards. Of course if I run the same app on 10.4, it works
fine.

So my question is: How can I reliably determine whether I need to reverse
the arguments to CILinearGradient?

Building against 10.4 doesn't seem to work. And since I'm built against 10.4,
I can't check the AppKit version (it will just report the 10.4 version). So
what should I do?



For reference the Apple technote:
http://developer.apple.com/releasenotes/GraphicsImaging/RN-CoreImage/index.html
_______________________________________________

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]

Reply via email to