Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: NSImage picks wrong representation for scaling?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage picks wrong representation for scaling?



I wrote:
Actually I'd expect this behavior to be the default, if I'm interpreting <http://developer.apple.com/documentation/Cocoa/ Conceptual/CocoaDrawingGuide/Images/chapter_7_section_2.html#// apple_ref/doc/uid/TP40003290-CH208-BCIGEIFF> correctly. Is what I'm observing a bug?

OK, I made a mistake. The observed behavior actually is in accordance with the documentation. When scaled to an odd size, none of the representations match by resolution, and the one with the highest resolution is chosen.


I still think this is suboptimal, but it seems there's no easy way around it. Oh well. Seems I have to examine the representations myself after all.

 -Christian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSImage picks wrong representation for scaling? (From: Christian Walther <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.