I know Android primarily uses integers. But, in the case of some functions such as drawText and measureText are using float integers. It doesn't make sense to me because using integers looks much better.
Do you really know the reasons? Why do they use floats for the coordinate system? Although I somewhat understand Mr. Jim's opinion, Is it possible to deal those values with integers? (Mr. Jim said: "because latitude and longitude (and other coordinate systems) are not always integers...") What do you thing about my opinion? Anybody has any ideas? On 10월7일, 오전11시31분, Dianne Hackborn <[email protected]> wrote: > Android primarily uses ints. > > > > > > > > > > On Thu, Oct 6, 2011 at 10:17 PM, byhesed <[email protected]> wrote: > > Why does Android use float instead of integer as the coordinate > > system? > > > Isn't it too slow if using float variables instead of integer > > variables? > > > Anybody know why Android use float variables instead of integer > > variables? > > > Thank you in advance. > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

