开发者

Transparent PNG in NSView, Cocoa App

I have a project with a transparent PNG file under my resources, available at runtime. I'd like to load it up when my view is created and project it, while keeping its transparency onto the NSView instance I have.

Any pointers?

开发者_StackOverflowThanks.


NSImage.


Use some of the methods drawn... and, in operation: use the number 5 -> NSCompositeSourceAtop ;)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜