![]() |
|
Sampling NSBezierPath - Printable Version +- iDevGames Forums (http://www.idevgames.com/forums) +-- Forum: Development Zone (/forum-3.html) +--- Forum: Graphics & Audio Programming (/forum-9.html) +--- Thread: Sampling NSBezierPath (/thread-9879.html) |
Sampling NSBezierPath - ipeku - Feb 16, 2012 11:54 AM Is there a nice way to sample points off an NSBezierPath? RE: Sampling NSBezierPath - SethWillits - Feb 16, 2012 02:23 PM Nice way? Not really. Flatten the path (there's a method for it) so all curves become line segments. Then you'll iterate through the path elements and you can travel along each segment as much as you want. RE: Sampling NSBezierPath - ipeku - Feb 16, 2012 04:01 PM All right, I'll figure it out. |