I want to draw an NSImage into a custom view. But once the image is drawn, I want to draw NSRects over the image... But when I try drawing an NSRect, it replaces the NSImage I had drawn from before. The only way I can fix this is redrawing the image every time, this is slow because the image is very large (2500 X 1250). So, what I need is a way to draw an NSImage, and then draw things on the image, without replacing the image. Can this be done in custom drawing? Thanks in advance.