Get line width working based on quantity

Still need to move the end points of the line over slightly at the
points where they join ...