• 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: Drawing text with alpha
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing text with alpha


  • Subject: Re: Drawing text with alpha
  • From: Scott Thompson <email@hidden>
  • Date: Wed, 22 Aug 2007 09:06:28 -0500


On Aug 22, 2007, at 12:24 AM, Phil wrote:

I appreciate the pointers. I'll likely go with your approach as I.S. is also recommending it and no one has indicated that it's possible to get NSAttributedString to do it directly. I wanted to make sure I wasn't missing something and it looks like I wasn't.

On a related note, am I correct in assuming that to get semitransparent text I'd need to render it to an image and have Quartz handle the compositing?

Thanks,
Phil

Well, that certainly would be an option, but I can't say that it's your only choice. Our application renders semitransparent text using the Cocoa text system and the NSLayoutManager without requiring us to render it into a separate image and composite the image.


Scott

_______________________________________________

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


References: 
 >Drawing text with alpha (From: Phil <email@hidden>)
 >Re: Drawing text with alpha (From: "I. Savant" <email@hidden>)
 >Re: Drawing text with alpha (From: Ricky Sharp <email@hidden>)
 >Re: Drawing text with alpha (From: Phil <email@hidden>)

  • Prev by Date: Updating bound controls with selection change
  • Next by Date: Re: memory mgmt for NSMutableArray as ivar
  • Previous by thread: Re: Drawing text with alpha
  • Next by thread: Re: Drawing text with alpha
  • Index(es):
    • Date
    • Thread