4 ms·
The scaling was quite glitchy in 2009 [0], and in 2021, the only allowed scale factors are 100% and 200% — so you don’t need floating-point numbers for it. [0]
by Kwpolska 5y ago
The scaling was quite glitchy in 2009 [0], and in 2021, the only allowed scale factors are 100% and 200% — so you don’t need floating-point numbers for it.
[0]: https://arstechnica.com/gadgets/2009/08/mac-os-x-10-6/21/#resolution-independence https://arstechnica.com/gadgets/2009/08/mac-os-x-10-6/21/#re...
- zacwest 5y agoIf you want to position an @2x view (1 pt = 2 px) you need to use fractional points. A view at (0, 0.5) in points is (0, 1) in pixels. Resolution Independence was a separate concept.