Creating an image badge with Cocoa/OSX
I need to create an image badge in Cocoa. Basically I need to take two images one smaller then the other and ov开发者_如何转开发erlay the smaller image over the larger image with a certain offset. Does Cocoa provide any utility to make this sort of thing easier?
Draw a third image by compositing the two. It's pretty straight forward if you give the drawing documentation a read. Particularly the Images section.
精彩评论