Re: Transparent image
Re: Transparent image
- Subject: Re: Transparent image
- From: Rob Keniger <email@hidden>
- Date: Tue, 10 Feb 2009 11:24:20 +1000
On 10/02/2009, at 10:30 AM, Christian Graus wrote:
Yes - the interesting thing is, if I turn the grid on for the
IKImageView,
it is plainly well able to recognise the transparency layer in my
PNG and
render accordingly. We are overriding IKImageView already, although
we're
not yet doing anything funky at all, just adding helper methods and
handling
keypresses. I will try what you've suggested. My other idea is, if
the
control can display itself transparently on top of a window, I may try
taking a screenshot of the area underneath and then house my
IKImageView in
another control, and in that control, set the background image to fake
transparency.
The IKImageView and IKImageBrowserView do some pretty funky stuff
under the hood and don't support background or image transparency as
far as I am tell. Subclassing them and overriding the drawing methods
causes nothing but pain, believe me.
--
Rob Keniger
_______________________________________________
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