Transparent colors
Transparent colors
- Subject: Transparent colors
- From: Dale Miller <email@hidden>
- Date: Mon, 28 Jul 2008 19:31:37 -0700
I cannot get transparent colors to work. I have tried two cases:
1) I have a view which returns YES to "isTransparent". The log shows
the method has been called and responded YES. If I do a NSRectFill
after [[NSColor clearColor] set] the view displays as black.
2) If i do a "drawInRect" with the attribute
NSBackgroundColorAttributeName set to [NSColor clearColor] (or to a
color with an alpha of 0. regardless of the red/green/blue components)
the background of the text draws as black. What is it that I don't
understand?
Dale Miller
email@hidden
_______________________________________________
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