iphone Programming Glossary: pathpoints_
Drag UIView around Shape Comprised of CGMutablePaths http://stackoverflow.com/questions/13664615/drag-uiview-around-shape-comprised-of-cgmutablepaths NSMutableData pathPointsData_ We'll want a pointer to the array of points typed as a CGPoint pointer CGPoint const pathPoints_ And we need to know how many of those points there are NSInteger pathPointsCount_ For the œobject we'll have a draggable.. predecessor of the next endpoint pathPointsData_ appendBytes p length sizeof p priorPoint p Now we can initialize our pathPoints_ and pathPointsCount_ ivars pathPoints_ CGPoint const pathPointsData_.bytes pathPointsCount_ pathPointsData_.length sizeof.. appendBytes p length sizeof p priorPoint p Now we can initialize our pathPoints_ and pathPointsCount_ ivars pathPoints_ CGPoint const pathPointsData_.bytes pathPointsCount_ pathPointsData_.length sizeof pathPoints_ But we have one more point..
|