CH27 / E186|Dimensions and Positioning|Wed, 19 Mar ’14
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.