• 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: strange behavior, out of range?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange behavior, out of range?


  • Subject: Re: strange behavior, out of range?
  • From: Alastair Houghton <email@hidden>
  • Date: Tue, 11 May 2010 17:17:53 +0100

On 11 May 2010, at 00:40, Fritz Anderson wrote:

> * It appears that you are using 32-bit floats because you are working with UI objects, am I right? If so, get some perspective: No display in the world will render 10^-7 of a pixel, or render one pixel in an image 10^7 pixels wide.

Though you might conceivably find yourself needing to display something over 10^7 pixels wide or high with single pixel precision.  If you do, it's obviously not going to work using 32-bit floats for co-ordinates (which is a nuisance because 32-bit Quartz does exactly that).

Kind regards,

Alastair.

--
http://alastairs-place.net



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: [solved] strange behavior, out of range?
      • From: Ariel Feinerman <email@hidden>
References: 
 >strange behavior, out of range? (From: Ariel Feinerman <email@hidden>)
 >Re: strange behavior, out of range? (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: strange behavior, out of range?
  • Next by Date: Synthesized ObjC ivars (iPhone Simulator)
  • Previous by thread: Re: strange behavior, out of range?
  • Next by thread: Re: [solved] strange behavior, out of range?
  • Index(es):
    • Date
    • Thread