Reputation: 51921
A few subpaths are added to a mutable graphics path:
CGPathAddPath(path, NULL, subpath1);
// ...
CGPathAddPath(path, NULL, subpath2);
// ...
CGPathAddPath(path, NULL, subpath3);
How can I remove some/all subpaths from path
?
Upvotes: 2
Views: 2284
Reputation: 9231
You can't, you are responsable to keep the data required to redraw the path (or part of it) if needed (you basically have to create a new path containing only the subpaths you want to keep).
Upvotes: 1