Re: Changing font color
Re: Changing font color
- Subject: Re: Changing font color
- From: Graham Cox <email@hidden>
- Date: Thu, 13 Aug 2009 10:02:53 +1000
On 13/08/2009, at 7:09 AM, Agha Khan wrote:
CGContextSelectFont(ctx, "Times New Roman", 26, kCGEncodingMacRoman);
It works fine, but who can I change the color of the font?
set the context's fill and/or stroke colours as usual and use
CGContextSetTextDrawingMode to set how the text uses them.
--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