Add line shape conversion