Page 1 of 1

COffscrenContext and CLayeredViewContainers

Posted: Wed Sep 07, 2016 11:39 am
by ray
When trying to blit the content of a CLayeredViewContainer into a CBitmap (e.g. in order to apply BitmapFilters to the view or parts of it) via drawing to a COffscreenContext and subsequentially retrieving the context's CBitmap it seems like the approach fails when running on Mac Cocoa, where the content is actually drawn into a CALayer.

Is there any chance to achieve this type of behaviour, without having to refrain from layered view containers?