public void Apply (ApplierFunction func) { GCHandle gch = GCHandle.Alloc (func); CGPathApply (handle, GCHandle.ToIntPtr (gch), ApplierCallback); gch.Free (); }