Re: Drawing text with alpha
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