changing the default color for text drawing
changing the default color for text drawing
- Subject: changing the default color for text drawing
- From: Kenny Leung <email@hidden>
- Date: Fri, 11 May 2007 08:28:54 -0700
Hi All.
We are using NSAttributedString for drawing pretty complicated text
which sometimes has multiple colors. Now we find ourselves wanting to
draw the same text on different backgrounds, which means that we want
the default text color to be different. e.g. go from black text on a
white background to white text on a black background. Is there a way
to just change the default color that text is drawn in without
affecting the rest of the attributes? It would be very onerous to go
back and change everything so that we can specify the default text
color when these strings are created.
Thanks!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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