• 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: 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?


  • Subject: Re: NSImage picks wrong representation for scaling?
  • From: Christian Walther <email@hidden>
  • Date: Tue, 18 Apr 2006 10:02:51 +0200

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>)

  • Prev by Date: Re: Cocoa Books
  • Next by Date: Re: addObserver:forKeyPath:options:context
  • Previous by thread: NSImage picks wrong representation for scaling?
  • Next by thread: New windows and accepting input...
  • Index(es):
    • Date
    • Thread