Lines Matching refs:y1
46 x1, y1 = (pegdist-pegwidth)//2, height*1//3
47 x2, y2 = x1+pegwidth, y1+pegheight
49 p = c.create_rectangle(x1, y1, x2, y2, fill='black')
52 p = c.create_rectangle(x1, y1, x2, y2, fill='black')
55 p = c.create_rectangle(x1, y1, x2, y2, fill='black')
65 x1, y1 = (pegdist-maxpiecewidth)//2, y2-pieceheight-2
66 x2, y2 = x1+maxpiecewidth, y1+pieceheight
69 p = c.create_rectangle(x1, y1, x2, y2, fill='red')
73 y1, y2 = y1 - pieceheight-2, y2-pieceheight-2
97 x1, y1, x2, y2 = c.bbox(p)
106 x1, y1, x2, y2 = c.bbox(p)
114 pieceheight = y2-y1
117 x1, y1, x2, y2 = c.bbox(p)