• 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: resolution independent [NSImage drawInRect]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: resolution independent [NSImage drawInRect]


  • Subject: Re: resolution independent [NSImage drawInRect]
  • From: Andrew Bush <email@hidden>
  • Date: Wed, 20 Sep 2006 18:51:12 +1200

Hi Peter,

thanks for the response :)

What it (and I) do is basically check if the image's stated width and height in # of pixels matches up with the image rep it opens with and if so it adds a new rep with the adjusted size. So if the image data says "I'm 1000 pixels wide" but the image rep says "I'm 220 pixels wide" you know it is being scaled because of high dpi.


thats sounds good, Ill give it a go.

Yours cheerfully,


Andrew Bush

_______________________________________________
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: 
 >resolution independent [NSImage drawInRect] (From: Andrew Bush <email@hidden>)
 >Re: resolution independent [NSImage drawInRect] (From: Peter Schart <email@hidden>)

  • Prev by Date: Re: stepbystep tutorials
  • Next by Date: Upgrade From Mac OS10.3.9 to 10.4 on Power G4
  • Previous by thread: Re: resolution independent [NSImage drawInRect]
  • Next by thread: Invoking add: operation to an ArrayController manually (CoreData)
  • Index(es):
    • Date
    • Thread