Re: Question of .png and 'transparency'
Re: Question of .png and 'transparency'
- Subject: Re: Question of .png and 'transparency'
- From: "I. Savant" <email@hidden>
- Date: Mon, 4 May 2009 15:14:40 -0400
On Fri, May 1, 2009 at 9:11 PM, Smith, Steven (MCP)
<email@hidden> 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@hidden)
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:
This email sent to email@hidden