Learn more about paths: how to use them as clipping areas and how to use them to outline CAShapeLayers. Then learn the difference between points and pixels.
I had two questions I was hoping to get help with:
I noticed in the second curve you add to the point, the line width is multiplied by two, whereas the previous curve used the line width by itself. Is there a reason to this that I am missing?
Secondly, is there a reason we are using CAShapeLayer vs just drawing over whatever was previously drawn in Core Graphics?