<br><br>
<div><span class="gmail_quote">On 11/21/05, <b class="gmail_sendername">Steve Juranich</b> <<a href="mailto:sjuranic@gmail.com">sjuranic@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On 11/17/05, Shi Mu <<a href="mailto:samrobertsmith@gmail.com">samrobertsmith@gmail.com</a>> wrote:<br>
> why subtract 1 from max_y - original_y?<br><br>Because in the computer science world we like starting to count at 0.<br><br>image_size = 1000<br>original_y = 25 # Really the 26th pixel line.<br>new_y = 1000 - 25 - 1 # 26 pixels from the bottom of the screen.
<br><br>--<br>Steve Juranich<br>Tucson, AZ<br>USA<br>--<br><a href="http://mail.python.org/mailman/listinfo/python-list">http://mail.python.org/mailman/listinfo/python-list</a><br></blockquote></div><br>Thanks!