• 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
Solution: Dynamically creating an image with transparent portions.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Solution: Dynamically creating an image with transparent portions.


  • Subject: Solution: Dynamically creating an image with transparent portions.
  • From: Jay Reynolds Freeman <email@hidden>
  • Date: Sun, 23 Aug 2009 15:28:48 -0700

About a month ago I asked a question here that had to do with dynamically creating -- at run time -- new instances of NSImage with portions that were partially or wholly transparent. Thanks to the help received, I solved my problem by another means, but I eventually did find out that there appears to be a documented way to do what I wanted, well hidden in a tech note. (Not so much well hidden as that I did not happen to use search terms that might have found it.) I thought I ought to mention it.

The note in question is this one:

http://developer.apple.com/releasenotes/Cocoa/AppKitOlderNotes.html

Within it, scan for "NSView Drawing Redirection API (Section added since WWDC)".

I haven't tried it yet, but it looks like exactly what I was asking for in the first place.

--  Jay Reynolds Freeman
---------------------
email@hidden
http://web.mac.com/jay_reynolds_freeman (personal web site)


_______________________________________________

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


  • Prev by Date: Re: Running shell scripts as root.
  • Next by Date: Re: User interface validation doesn't work, right?
  • Previous by thread: Re: Confusion over erratic behavior in Xcode debugging
  • Next by thread: Sound files needed
  • Index(es):
    • Date
    • Thread