Solution: Dynamically creating an image with transparent portions.
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