我还有一个关于通过CGPoint
路口的问题:
(CGPoint[]) displayPoints:(CGPoint) startPoint
withEnd:(CGPoint) endPoint
withBaseRotate:(Boolean) baseRotate {
// do some stuf with four or six points
// create a array of the points and return - it
CGPoint ourPoints[] = {
CGPointMake(point1.x, point1.y),
CGPointMake(point2.x, point2.y),
CGPointMake(point3.x, point3.y),
//... some more points
} ;
return ourPoints[];
}
为什么这不起作用?