Re: iPhone text on UIImage not getting displayed on device.
Re: iPhone text on UIImage not getting displayed on device.
- Subject: Re: iPhone text on UIImage not getting displayed on device.
- From: David Duncan <email@hidden>
- Date: Tue, 19 May 2009 11:23:48 -0700
On May 18, 2009, at 11:43 PM, Shraddha Karwan wrote:
CGContextSetRGBFillColor(context, 255, 255, 255, 1);
It may not be related to what is going wrong, but Quartz always uses
normalized colors when specifying components, so this should really be
1.0, 1.0, 1.0 instead of 255, 255, 255. Quartz will also clamp colors
if appropriate, so these components are just getting clamped to 1.0
anyway.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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