[Olena-patches] 919: Add line2d, bresenham, the safe_image morpher, and underlying types.