• 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
bitmapImageRepForCachingDisplayInRect & CALayers ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bitmapImageRepForCachingDisplayInRect & CALayers ...


  • Subject: bitmapImageRepForCachingDisplayInRect & CALayers ...
  • From: Mic Pringle <email@hidden>
  • Date: Thu, 2 Apr 2009 14:21:04 +0100

Hi,

I have an NSView that hosts several CAlayers. Each layer composites an
image over the previous ones to build up a complete image (think
layers in Photoshop).

What I'd like to do now is get an image rep of what the user see's on
screen, the final image as it were.

I know I can use bitmapImageRepForCachingDisplayInRect on the view
which hosts the CA layers which should get me a bitmap rep of the view
and it's contents, but does anyone know if this still works in a layer
hosting situation where none of the actual drawing is performed by the
view ?

If not, does anyone know how to best achieve what I'm after, or if
it's even possible ?

Thanks

-Mic
_______________________________________________

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

  • Prev by Date: Re: disable row highlighting NSTableView
  • Next by Date: Re: Best Strategy to Control iTunes
  • Previous by thread: Re: Huge and weird problem with NSScanner
  • Next by thread: Printing/reports?
  • Index(es):
    • Date
    • Thread