Thank you, Azrael, for your explanation. You are right about the need to be able to scale and stretch the ditto so even though your description sounds reasonable it does not quite fulfíll my needs.
To everybody:
We experimented with using a spline and a newly created linetype consisting of...