Re: NSImage/NSImageView opacity
Re: NSImage/NSImageView opacity
- Subject: Re: NSImage/NSImageView opacity
- From: Randall Meadows <email@hidden>
- Date: Fri, 24 Oct 2008 22:27:14 -0600
On Oct 24, 2008, at 8:00 PM, Ken Ferry wrote:
Yes, -cacheDisplayInRect:toBitmapImageRep: is going to end up
calling drawRect:. It's not meant to be invoked _from_ drawRect:.
You can call that from another view, or from a controller, or
whatever.
That's what I'm doing; I am calling cacheDisplay... on the
viewToReflect *from* the reflectionView's -drawRect, not its own -
drawRect. But when I do that, reflectionView's -drawRect is called,
not viewToReflect's -drawRect. That's why I said it all seemed so
logical, but the behavior I'm seeing is not.
randy
_______________________________________________
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