Example of drawing a bridge

lineCap = kCGLineCapButt is the important piece