replace addCurveToPoint with addArcWithCenter when processing the rounded corner, remove kCPOffset option

When changed kBoxRadius, the kCPOffset is hard to matching for make a rounded corner.

So I replace addCurveToPoint with addArcWithCenter when processing the rounded corner, remove kCPOffset option.