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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to