• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question of .png and 'transparency'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Question of .png and 'transparency' (From: "Smith, Steven (MCP)" <email@hidden>)

  • Prev by Date: Re: NSOutlineView with NSImage and NSStrings
  • Next by Date: drawing image
  • Previous by thread: Question of .png and 'transparency'
  • Next by thread: NSPredicate & relationship data?
  • Index(es):
    • Date
    • Thread