On 11/21/05, Steve Juranich <[EMAIL PROTECTED]> wrote:
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 = 1000original_y = 25 # Really the 26th pixel line.new_y = 1000 - 25 - 1 #
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
On 11/17/05, Steve Juranich <[EMAIL PROTECTED]> wrote:
> On 11/17/05, Ben Bush <[EMAIL PROTECTED]> wrote:
> > Tkinter's coordinates setting are: the left upper corner is the smallest X
> > and Y, which is different from our usual think that Y is largest in that
&g
On 11/17/05, Ben Bush <[EMAIL PROTECTED]> wrote:
> Tkinter's coordinates setting are: the left upper corner is the smallest X
> and Y, which is different from our usual think that Y is largest in that
> location. If i draw some lines on the canvas and show some relationship
>
Tkinter's coordinates setting are: the left upper corner is the smallest X and Y, which is different from our usual think that Y is largest in that location. If i draw some lines on the canvas and show some relationship among them, do I need transfer the coordinates?
--
http://mail.pytho