• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Compositing grid over custom view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compositing grid over custom view


  • Subject: Re: Compositing grid over custom view
  • From: edward taffel <email@hidden>
  • Date: Mon, 01 Sep 2014 19:19:02 -0400

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 <email@hidden> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Prev by Date: Power Nap/wakeup
  • Next by Date: Re: Power Nap/wakeup
  • Previous by thread: Re: Power Nap/wakeup
  • Next by thread: Converting an existing Mac project to use storyboard
  • Index(es):
    • Date
    • Thread