Devide independence for Canvas class drawing primitives
<p>The Android Canvas class supports a rich set of drawing primitives - circles, lines, etc.   I have an app that uses these to chart some statistical data.</p>

<p>After reading the description on <a href="http://developer.android.com/reference/android/graphics/Canvas.html#drawLine%28float,%20float,%20float,%20float,%20android.graphics.Paint%29" rel="nofollow">http://developer.android.com/reference/android/graphics/Canvas.html#drawLine%28float,%20float,%20float,%20float,%20android.graphics.Paint%29</a>
. . . I was unclear what units the coordinates were in or how to make them device / resolution independent.</p>

<p>What units are these in and what's "best practice" for drawing lines and circles and rectangles that work on lots of different screen sizes and resolutions?   Thanks in advance.</p>
