Mailing Lists: Apple Mailing Lists

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

CILinearGradient and 10.5 mess



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 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
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden

This email sent to 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.