> On 2015 Feb 10, at 05:36, Charles Jenkins <[email protected]> wrote:
> 
> This may explain why my purchase of a program that outputs code for vector 
> images resulted in disappointment.

Counterintuitive at first, but, yes :))

I’ve always wondered why, when you’re dragging a window around a non-Retina 
screen, the anti-aliasing doesn’t show a “comb filter” kind of effect, with 
different lines getting fuzzy and sharp as they are dragged on and off their 
pixels.  Looking at this closely today, I think the explanation may be that

  (1) Although you need to look carefully, Apple has constrained
       dragging windows to “snap" to the grid of backing pixels.
       You cannot move a window by one half pixel.
  (2) A window’s intrinsic scrollers, title bars, etc. are also 
       on a 1-pixel grid.
  (3) Any control or view that you place into Interface Builder
       must be on a 1-pixel grid.  I just tried entering a decimal
       fraction, 139.5, and after I ended editing, it was rounded
       down to 139.

So I think that’s why this has always been a mystery to me:  Apple has layered 
on several contrivances to hide the ugly truth, and it works until you start 
adding your own views that have fractional pixel features.


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to