ConvertSegment: converts lines to curves and curves to lines.