On 11/17/05, Shi Mu <[EMAIL PROTECTED]> wrote:
> why subtract 1 from max_y - original_y?

Because in the computer science world we like starting to count at 0.

image_size = 1000
original_y = 25 # Really the 26th pixel line.
new_y = 1000 - 25 - 1 # 26 pixels from the bottom of the screen.

--
Steve Juranich
Tucson, AZ
USA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to