From the Insidev0.1

Core Graphics, Chapter 7. Strokes

You will be able to say, for a line of any width at any position, which pixel rows it lights and with what bytes, and work the answer out by hand.

Previous chapter · Core Graphics From the Inside · Next chapter