Lines Matching refs:xscale
492 self.xscale = self.yscale = 1.0
512 cl.append(x * self.xscale)
543 cl.append(x * self.xscale)
593 x = x * self.xscale
615 x, y = (self.cv.canvasx(event.x)/self.xscale,
633 x, y = (self.cv.canvasx(event.x)/self.xscale,
653 x, y = (self.cv.canvasx(event.x)/self.xscale,
673 x, y = (self.cv.canvasx(event.x)/self.xscale,
730 self.cv.coords(item, (x * self.xscale, -y * self.yscale))
1065 self.xscale = self.yscale = 1.0
1096 oldxscale, oldyscale = self.xscale, self.yscale
1097 self.xscale = self.canvwidth / xspan
1099 srx1 = llx * self.xscale
1104 self._rescale(self.xscale/oldxscale, self.yscale/oldyscale)
2959 e = Vec2D(e0, e1 * screen.yscale / screen.xscale)
2961 return [(p0+(e1*x+e0*y)/screen.xscale, p1+(-e0*x+e1*y)/screen.yscale)
3166 diffsq = (diff[0]*screen.xscale)**2 + (diff[1]*screen.yscale)**2
3225 diffsq = (diff[0]*screen.xscale)**2 + (diff[1]*screen.yscale)**2