• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
special NSView inheritance correspond to the bitmapImageRepForCachingDisplayInRect?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: special NSView inheritance correspond to the bitmapImageRepForCachingDisplayInRect?
      • From: Michael Watson <email@hidden>
  • Prev by Date: [Moderator] List guidelines and related resources
  • Next by Date: porting core data app to the dark side
  • Previous by thread: Re: Create a nsimage from the nsbitmapimagerep
  • Next by thread: Re: special NSView inheritance correspond to the bitmapImageRepForCachingDisplayInRect?
  • Index(es):
    • Date
    • Thread