special NSView inheritance correspond to the bitmapImageRepForCachingDisplayInRect?
special NSView inheritance correspond to the bitmapImageRepForCachingDisplayInRect?
- Subject: special NSView inheritance correspond to the bitmapImageRepForCachingDisplayInRect?
- From: "Cide.Vincent.S" <email@hidden>
- Date: Tue, 27 Feb 2007 11:30:52 +0000
As is know to all, the QCView is derived from the NSView.
There is a method defined in NSView named the
bitmapImageRepForCachingDisplayInRect:
and it returns a bitmaprep;
I wonder whether QCView can correspond to this method, then return a
frame which it is rendering. Then we can use the returned bitmaprep
to create a NSImage object then show it.
It seems that we can achieve the effect that we have a snapshot of
the QCView object.
However , after I wrote some code, I failed. so I seek to verify
whether this idea is practicable.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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