Add function to check if line is within polygon

This will be useful when drawing lines between midpoints: any midline
that is NOT entirely within the glyph outline should be rejected.