• 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: drawRect: wrong scale in a programmatically created window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drawRect: wrong scale in a programmatically created window


  • Subject: Re: drawRect: wrong scale in a programmatically created window
  • From: "Gary L. Wade" <email@hidden>
  • Date: Fri, 15 Jan 2016 10:34:10 -0800

> On Jan 15, 2016, at 10:15 AM, Quincey Morris <email@hidden> wrote:
>
> …number of pixels you get back will vary according to which Mac you run this on.

…or on which screen you're using. You can see the point/pixel disparity more easily by adding a non-Retina monitor to a Retina Mac and moving your windows between the two. By the way, even Apple developers have problems with this; try scaling the iPhone Simulator window on such a setup and moving it between the screens.
--
Gary L. Wade (Sent from my iPhone)
http://www.garywade.com/
_______________________________________________

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


References: 
 >drawRect: wrong scale in a programmatically created window (From: Andreas Höschler <email@hidden>)
 >Re: drawRect: wrong scale in a programmatically created window (From: Quincey Morris <email@hidden>)
 >Re: drawRect: wrong scale in a programmatically created window (From: Andreas Höschler <email@hidden>)
 >Re: drawRect: wrong scale in a programmatically created window (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: drawRect: wrong scale in a programmatically created window
  • Next by Date: Re: OT: Swift Code Autoformatter?
  • Previous by thread: Re: drawRect: wrong scale in a programmatically created window
  • Next by thread: Re: drawRect: wrong scale in a programmatically created window
  • Index(es):
    • Date
    • Thread