Prepare the Way

In order for our line drawing to track our mouse cursor correctly, we need to figure out where the cursor is relative to the drawing area element. That calculation isn’t accounting for the drawing area’s border. We prepare the way by refactoring our tests.

comments powered by Disqus