On Fri, May 1, 2009 at 9:11 PM, Smith, Steven (MCP)
<[email protected]> wrote:

> a) should my code do the transparency for each piece so the background (say a 
> starfield) show through
>
> b) if not my code would the .png already be 'set' with transparency in place
>
> I've not done game UI befores so this is new turf for me.

  Read the documentation for NSImage and the Cocoa Drawing Guide, pay
attention to the sections discussing "compositing".

http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/nsimage_Class/Reference/Reference.html

http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaDrawingGuide/Introduction/Introduction.html

--
I.S.
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to