Thanks Douglas, I realized after I sent the first mail that the terminology in the subject was wrong. What I have is actually a CALayer with several of sublayers *hosted* in a NSView, and so setting wantsLayer = NO doesn't seem like an option because my drawRect: isn't implemented.

I'm trying to migrate a currently functioning NSView subclass into a more coherent layer scheme. The basic idea of the view is an imported floor plan with several layers superimposed over it. CALayers seemed like a nice way to keep the layers modular and provide some smooth animation when transforming certain elements.

Thank you for the link as well, I'll file it away with the rest of my notes.

Kevin Ross



On Jun 9, 2009, at 11:30 AM, douglas welton wrote:

Hi Kevein,

Searching the archives at CocoaBuilder returns the following results (and answer to your question):

        <http://www.cocoabuilder.com/archive/message/cocoa/2008/1/4/195849>

regards,

douglas

On Jun 9, 2009, at 1:56 PM, Kevin Ross wrote:

I can't seem to find mention of printing a layer-hosted NSView in the documentation anywhere. Printing works on my view when the view is set to wantsLayer = NO, but draws nothing when all the drawing takes place in the hosted CALayer with = YES. Is there something I'm missing to get the view to print?

Thanks for any suggestions!

Kevin Ross


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to