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 ;)
精彩评论