Skip to content

Instantly share code, notes, and snippets.

@steipete
Created December 7, 2012 15:32
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steipete/4233987 to your computer and use it in GitHub Desktop.
Save steipete/4233987 to your computer and use it in GitHub Desktop.
Print a CGPath
extern void CGPathPrint(CGPathRef path, FILE* file);
CGPathPrint(path.CGPath, NULL);
Path 0xb44e380:
moveto (-12, 295)
lineto (115, 295)
lineto (108, -12)
lineto (235, -12)
lineto (235, 762)
lineto (108, 762)
lineto (115, 455)
lineto (-12, 455)
lineto (-12, 295)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment