How does one draw on NSImages? I want to render a particular image, save it to a buffer, then draw that buffer onto the window. This rendering consists just of drawing lines, circles, and text. NSBezierPath is probably too powerful for this task, but Cocoa doesn't seem to have many other options. I'm aware of doing it with CGBitmapContext in Carbon, but using Cocoa's classes is far, far easier than Carbon's. I mean, what's the deal with CGDataProvider? Using CGImageCreate() uses so many lines of code; you have to create a CGColorSpace and CGDataProvider before even thinking of creating a CGImage. Using Cocoa-only classes seems to be a lot easier.