Lines Matching refs:y2
48 x2, y2 = x1+pegwidth, y1+pegheight
50 p = c.create_rectangle(x1, y1, x2, y2, fill='black')
53 p = c.create_rectangle(x1, y1, x2, y2, fill='black')
56 p = c.create_rectangle(x1, y1, x2, y2, fill='black')
66 x1, y1 = (pegdist-maxpiecewidth)//2, y2-pieceheight-2
67 x2, y2 = x1+maxpiecewidth, y1+pieceheight
70 p = c.create_rectangle(x1, y1, x2, y2, fill='red')
74 y1, y2 = y1 - pieceheight-2, y2-pieceheight-2
98 x1, y1, x2, y2 = c.bbox(p)
99 if y2 < ay1: break
107 x1, y1, x2, y2 = c.bbox(p)
115 pieceheight = y2-y1
118 x1, y1, x2, y2 = c.bbox(p)
119 if y2 >= newbottom: break