drawLine handles 0 displacement in X or in Y (or both)