On 11 Dec 2007, at 10:39, Jan Trutzschler wrote:
getting the normalized position is fairly simple. it would like this:
: ) Yes I understand that. (and it would be just as easy to map
pixels to 0-1)
I might be misunderstanding you, but when I design a GUI, I think in
terms of
"this view should be 120 pixels from the left" and not "this view
should be 0.2393 * viewWidth
from the left".
I think it's natural to think about views and drawing in terms of
pixels.
Interesting if there are differences in background here. I'm not an
engineer so
I tend to think in "real" numbers. An engineer perhaps likes to
think about everything
in terms of 0-1. ??? : )
Not that I'm labeling you an engineer Jan!!!