converted drawing and selection of lines to using user-space coords