Lines Matching refs:y1
47 x1, y1 = (pegdist-pegwidth)//2, height*1//3
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)
107 x1, y1, x2, y2 = c.bbox(p)
115 pieceheight = y2-y1
118 x1, y1, x2, y2 = c.bbox(p)