NSImage : how to crop?

only seems to have other drawinrect methods which might let you create an image then draw into it but that somehow feels really wrong