• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CILinearGradient drawing backwards in 10.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: CILinearGradient drawing backwards in 10.5
      • From: "Adam R. Maxwell" <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>)

  • Prev by Date: CoreData SQL relaunch issue
  • Next by Date: Re: SecKeychainItemCopyContent for ppc on Leopard
  • Previous by thread: Re: CILinearGradient drawing backwards in 10.5
  • Next by thread: Re: CILinearGradient drawing backwards in 10.5
  • Index(es):
    • Date
    • Thread