iphone Programming Glossary: pointsordered
Drawing Smooth Curves - Methods Needed http://stackoverflow.com/questions/8702696/drawing-smooth-curves-methods-needed CGPointValue UIBezierPath smoothedPathWithGranularity NSInteger granularity NSMutableArray points NSMutableArray self pointsOrdered mutableCopy if points.count 4 return self bezierPath Add control points to make the math make sense points insertObject.. numberWithUnsignedInteger self points count self mutableSetValueForKey @ points addObject newPoint NSMutableArray self pointsOrdered addObject newPoint self bezierPath addLineToPoint CGPoint return newPoint autorelease if self bezierPath pointsOrdered count.. pointsOrdered addObject newPoint self bezierPath addLineToPoint CGPoint return newPoint autorelease if self bezierPath pointsOrdered count 3 PVPoint control1 pointsOrdered objectAtIndex pointsOrdered count 2 PVPoint control2 pointsOrdered objectAtIndex..
|