Implement full antialiasing for rounded rectangle selections

Additional testing planned; I've experimented with a number of different
approaches (as you can see from the commented-out code) but the current
one seems to be the most accurate.  It's also markedly shorter than the
most common approach.