4 ms·
Why do you need precise pixel sizes? What if I gave you a 3000 PPI screen? Would you really care to make any feature of your UI be the size of one pixel? Wouldn
by IgorPartola 9y ago
Why do you need precise pixel sizes? What if I gave you a 3000 PPI screen? Would you really care to make any feature of your UI be the size of one pixel? Wouldn’t “smallest visible solid dot” as covered by (b) suffice?
- sillysaurus3 9y agoYes, as a gamedev and as someone who has tried to do a lot of fanciness regarding human visual perception, I would love to have the ability to specify "use the absolute smallest, device-sized pixel value." It's a special case, sure. But those special cases suddenly enable what was previously impossible.
- IgorPartola 9y agoAgain, even if you are looking at a 3k/6k/9k PPI display? Even if a single pixel is in no way visible? Isn't there a limit beyond which you don't care?
- sillysaurus3 9y ago"not visible" is a very tricky thing in human perception. I'd love a way to subtly mess with someone's eye. And not for trolling purposes. It matters in art.
- mjevans 9y agoMe? I don't need that. HOWEVER, I can understand why someone else might. Mostly these cases revolve around implementing something in program instead of with basic standard features. Some standards even recognize that more complex decisions need to be made and allow for 'shaders' that determine the outcome instead of basic operations. Providing low level primitives in a responsible interface allows for the corner cases to be approached with nuance and care instead of glaring presence of omission.