• 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
Converting colorspace of a CGColor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Converting colorspace of a CGColor


  • Subject: Converting colorspace of a CGColor
  • From: Graham Cox <email@hidden>
  • Date: Sat, 04 Apr 2015 11:35:16 +1100

Is there a way to convert a CGColor to a different colorspace? It's trivial with NSColor, but I want to do the same at the lower CG level to keep the code as portable as possible between iOS and Mac. I'm sure I've done this in the past but I'm just not seeing the right function!

--Graham



_______________________________________________

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: Converting colorspace of a CGColor
      • From: edward m taffel <email@hidden>
  • Prev by Date: Re: Swift: How to determine if a Character represents whitespace?
  • Next by Date: Re: Converting colorspace of a CGColor
  • Previous by thread: Re: Do NSStackView's actually work in a NSTableView?
  • Next by thread: Re: Converting colorspace of a CGColor
  • Index(es):
    • Date
    • Thread