Re: Points vs pixels in a bash script
Re: Points vs pixels in a bash script
- Subject: Re: Points vs pixels in a bash script
- From: Gabriel Zachmann via Cocoa-dev <email@hidden>
- Date: Tue, 9 Jun 2020 15:00:45 +0200
>
> I don’t have an answer to your question, but to add some clarity Points are
> scale factor independent unit of measurement. On a retina display there are
> 2 pixels per point. On a non-retina display there is 1 pixel per point. Say
> Apple comes out with a display with a scale
Thanks a lot for the clarification.
Yes, that is what the doc's tell.
That is also the reason why I am suspicious whether the measures I see in the
output of "System Events" are given in those Apple points.
Because the factor I calculate is neither 1 nor 2.
But that is just aside, since I don't really care about the factor.
All that matters is that what "System Events" reports is in different units
than what system_profiler reports.
Best, G.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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