Mailing Lists: Apple Mailing Lists

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

NSShadow changes on 10.5.2?



On 10.5.2, it appears that NSShadow has changed so that the shadow draws at the offset sent to -setShadowOffset:.

In places where I was using NSShadow in the user interface for subtle visual effects, the shadow is now drawn at a different offset than on 10.4.x (and 10.5.0-1). In some cases this makes the visual effect look bad, because I had tuned the offset so that it looked good, not because of any particular fondness for the actual values.

While I can't do anything about the binaries already shipped, I'd like to fix my current source base. I still need to support (and look good) on Tiger.

Can someone share what the mapping between input offset and rendered shadow location was previous to 10.5.2?

(I grabbed a few sample points, but I'm not seeing an obvious mapping function.)

Jim
_______________________________________________

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


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.