开发者

Creating an image badge with Cocoa/OSX

开发者 https://www.devze.com 2022-12-19 01:50 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号