Hi all...
I want to represent  a point in 800 X 600 board in a 640 X 480 board..., for
example (13, 50) in 640X480 to 800X600
so.. will be like this...

Xscale = (13 * 800)/640
Xscale = 16.25

Yscale = (50 * 600)/480
Yscale = 62.5

what happend with the decimals??? I round up or down??? or there is another
way to calculate this more accurate?

Thks...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to