Skip to content

Instantly share code, notes, and snippets.

@veeneck
Created April 12, 2014 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veeneck/10548794 to your computer and use it in GitHub Desktop.
Save veeneck/10548794 to your computer and use it in GitHub Desktop.
Current Point in a CGPath
// For example, if you ArcToPoint and want to find out where the arc ends
// so that you can begin the next path, use this
CGPoint current = CGPathGetCurrentPoint(pathing);
//And if you want to log that
NSLog(@"%@", NSStringFromCGPoint(current);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment