• 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: Confusion about screen resolution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Confusion about screen resolution


  • Subject: Re: Confusion about screen resolution
  • From: Rick Aurbach via Cocoa-dev <email@hidden>
  • Date: Sat, 22 Feb 2020 14:48:33 -0600

> Message: 1
> Date: Sat, 22 Feb 2020 14:24:40 +0100
> From: Gabriel Zachmann <email@hidden <mailto:email@hidden>>
> To: "email@hidden <mailto:email@hidden>"
> <email@hidden <mailto:email@hidden>>
> Subject: Confusion about screen resolution
> Message-ID: <email@hidden
> <email@hidden">mailto:email@hidden>>
> Content-Type: text/plain;     charset=us-ascii
>
> When my screensaver gets invoked by the screensaver engine, it calls
> - (id) initWithFrame: (NSRect) frameRect isPreview: (BOOL) preview
>
> Funny thing is, when I print the frameRect to the log, I get  1680 x 1050.
> But my laptop screen really has 2880 x 1800!  (That's what I get from "About
> this Mac")
>
> I am running under Catalina 10.15.3.
>
>
> Can any one please shed some light on this?
>
> Thanks a lot in advance.
> Gab.
>

Gab,

I think you are confusing pixels and points.

A pixel is an addressable light-emitting area on the screen. Your screen
contains 2880 X 1800 pixels.

But a typographical  point is a unit of distance. There are 27 points per inch.
(I.e., a typographical point is 0.0139 inches or 0.353 mm).

Recalling that screen sizes are measured diagonally, the diagonal of a 1680pt
X 1050pt rectangle is 1981pt (or 27 inches). I conclude that your Mac has a
27-inch screen at a resolution of 123 X 123 px/in.

Cheers,

Rick Aurbach
8233 Tulane Avenue
St. Louis, MO 63132

eMail:     email@hidden
Phone:   314/721-7987

H-A-R-D-W-A-R-E
    (noun)

“The part of a computer you can kick."
_______________________________________________

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

  • Follow-Ups:
    • Re: Confusion about screen resolution
      • From: Ken Thomases via Cocoa-dev <email@hidden>
    • Re: Confusion about screen resolution
      • From: Marco S Hyman via Cocoa-dev <email@hidden>
  • Prev by Date: Re: Confusion about screen resolution
  • Next by Date: Re: Confusion about screen resolution
  • Previous by thread: Re: Confusion about screen resolution
  • Next by thread: Re: Confusion about screen resolution
  • Index(es):
    • Date
    • Thread