• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iPhone text on UIImage not getting displayed on device.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >iPhone text on UIImage not getting displayed on device. (From: Shraddha Karwan <email@hidden>)

  • Prev by Date: Re: iPhone Generating and displaying images using Bitmap
  • Next by Date: Re: When init returns nil does it cause a leak
  • Previous by thread: Re: iPhone text on UIImage not getting displayed on device.
  • Next by thread: Is there two streams with CFReadStreamRead happend in two threads?
  • Index(es):
    • Date
    • Thread