X-Cake

Cocoaheads Ireland and Northern Ireland

Not going to do a full write up of this code, but here's my little wrapper for CGPath, and an app that uses it.

BezierPath.zip

Obviously, it's not a direct, drop-in replacement for everything we had in NSBezierPath, but the path construction operators are there, as are the fill and stroke methods.

Enjoy!

-jcr

Views: 39

Comment

You need to be a member of X-Cake to add comments!

Join X-Cake

Comment by John C. Randolph on June 28, 2010 at 11:08pm
This project is now redundant, but some might find it interesting as an example of how to wrap a C API in an Objective-C class.

© 2013   Created by Matt Johnston.   Powered by

Badges  |  Report an Issue  |  Terms of Service