im_draw_mask() is now a class
im_draw_line() is a wrapper