I want to get the last point ofa CGPath.
CGMutablePAthRef path = CGPathCreateMutable();CGPathMoveToPoint(path,p1.x,p1.y);CGPathAddCurveToPoint(path,c1.x,c1.y,c2.x,c2.y,c3.x,c3.y);I want to know the the co-ordinates of last point by processing path I tried CGPathGetCurrentPoint but it gives P1 I tried CGPathApply and kCGPathElementCloseSubpath but it also give me P1
ليست هناك تعليقات:
إرسال تعليق