• 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: Forcing Black on RTF Text generated from NSAttributedString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forcing Black on RTF Text generated from NSAttributedString


  • Subject: Re: Forcing Black on RTF Text generated from NSAttributedString
  • From: "R. Scott Thompson" <email@hidden>
  • Date: Thu, 9 Dec 2004 19:30:48 -0600


On Dec 9, 2004, at 5:45 PM, Andrew Farmer wrote:

On 09 Dec 2004, at 13:40, John Stiles wrote:
You could make a pseudo black with RGB(1,1,1) instead of RGB(0,0,0).

Um, correct me if I'm mistaken, but wouldn't RGB(1,1,1) be white?

RTF considers it's components to be 0-255 (think bytes not floating point) so RGB(1,1,1) would be mostly black.


Kinda like being mostly dead...

Scott

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Forcing Black on RTF Text generated from NSAttributedString (From: "R. Scott Thompson" <email@hidden>)
 >Re: Forcing Black on RTF Text generated from NSAttributedString (From: Douglas Davidson <email@hidden>)
 >Re: Forcing Black on RTF Text generated from NSAttributedString (From: "R. Scott Thompson" <email@hidden>)
 >Re: Forcing Black on RTF Text generated from NSAttributedString (From: Douglas Davidson <email@hidden>)
 >Re: Forcing Black on RTF Text generated from NSAttributedString (From: John Stiles <email@hidden>)
 >Re: Forcing Black on RTF Text generated from NSAttributedString (From: Andrew Farmer <email@hidden>)

  • Prev by Date: Re: App doesn't open
  • Next by Date: Crazy Behind the Scenes Hard-wiring in AppKit?
  • Previous by thread: Re: Forcing Black on RTF Text generated from NSAttributedString
  • Next by thread: Re: Forcing Black on RTF Text generated from NSAttributedString
  • Index(es):
    • Date
    • Thread