• 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
OR compositing operation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OR compositing operation?


  • Subject: OR compositing operation?
  • From: Oleg Krupnov <email@hidden>
  • Date: Tue, 22 Sep 2009 16:22:26 +0300

Hi,

I'd like to draw in a graphics context in such a compositing mode:

R = MAX(S, D)

i.e. out of two colors (source and destination), the maximum color
(channel-wise) was chosen. This is basically equivalent to ORing the
colors.

Is this possible? I don't see such NSCompositingOperation. There's
only NSCompositeXOR, but no NSCompositeOR...

Thanks!
_______________________________________________

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

  • Follow-Ups:
    • Re: OR compositing operation?
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: NSArrayController addObject or insertObject:atArrangedObjectIndex:
  • Next by Date: OR compositing operation?
  • Previous by thread: Re: CoreData SQL tracing in the iPhone Simulator...
  • Next by thread: Re: OR compositing operation?
  • Index(es):
    • Date
    • Thread