我正在使用CoreGraphics在iOS5中绘制一条简单的路径:CGMutablePathRefpath=CGPathCreateMutable();CGPathMoveToPoint(path,NULL,center.x,topMargin);CGPathAddLineToPoint(path,NULL,center.x+20,topMargin+50);CGPathAddLineToPoint(path,NULL,center.x,topMargin+40);CGPathAddLineToPoint(path,NULL,center.x-20,topMargin+50);CGPa
我正在使用CoreGraphics在iOS5中绘制一条简单的路径:CGMutablePathRefpath=CGPathCreateMutable();CGPathMoveToPoint(path,NULL,center.x,topMargin);CGPathAddLineToPoint(path,NULL,center.x+20,topMargin+50);CGPathAddLineToPoint(path,NULL,center.x,topMargin+40);CGPathAddLineToPoint(path,NULL,center.x-20,topMargin+50);CGPa