COffscrenContext and CLayeredViewContainers

A user interface toolkit mainly for audio plug-ins (VST, AudioUnit, etc).
Post Reply
ray
Posts: 97
Joined: Fri Sep 02, 2016 9:37 am

COffscrenContext and CLayeredViewContainers

Post by ray » Wed Sep 07, 2016 11:39 am

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?

Thanks!

Post Reply