Add the use of the Pen.Join type and Pen.MiterLimit parameters when calculating the offsets for th widen path.