Ported UIBezierPath API to NSBezierPath and typealiased