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 <etaf...@me.com> 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 Van Bogaert <luc.van.boga...@me.com> 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 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 possible using >> the standard cocoa drawing features, or will I need OpenGL or some other >> graphics library? >> >> Thanks >> -- >> Luc Van Bogaert >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> 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: >> https://lists.apple.com/mailman/options/cocoa-dev/etaffel%40me.com >> >> This email sent to etaf...@me.com >
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com