Re: Compositing grid over custom view

2014-09-03 Thread Luc Van Bogaert
Thanks, I've read the docs on Quartz and blend modes and found a working solution. -- Luc Van Bogaert On 02 Sep 2014, at 01:19, edward taffel wrote: > you may wish to investigate the quartz blend modes, e.g. > kCGBlendModeDifference might work for you. > > > On Sep 1, 2014, at 3:53 PM, Luc

Re: Compositing grid over custom view

2014-09-01 Thread edward taffel
you may wish to investigate the quartz blend modes, e.g. kCGBlendModeDifference might work for you. On Sep 1, 2014, at 3:53 PM, Luc Van Bogaert wrote: > Hello, > > I'm trying to find a way to draw a grid (NSBezierPath 'lines') in a custom > nsview so that it is always visible, regardless of

Compositing grid over custom view

2014-09-01 Thread Luc Van Bogaert
Hello, I'm trying to find a way to draw a grid (NSBezierPath 'lines') in a custom nsview so that it is always visible, regardless of the underlying color. I'm using a transparency layer to draw the grid, and I have tried various NSCompositeOperation settings without succes. Is this at all possib