runway20 / PopoverView

A simple UIView popover control for iPhone/iPad written in CoreGraphics.
1.02k stars 214 forks source link

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

Open levey opened 11 years ago

levey commented 11 years ago

When changed kBoxRadius, the kCPOffset is hard to matching for making a rounded corner.

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