if self.Debug: start = clock()
ScreenDC = wx.ClientDC(self)
ViewPortWorld = ( self.PixelToWorld((0,0)),
if self.Debug: start = clock()
ScreenDC = wx.ClientDC(self)
ViewPortWorld = ( self.PixelToWorld((0,0)),
ViewPortBB,
self._ForegroundHTdc)
ScreenDC.Blit(0, 0, self.PanelSize[0],self.PanelSize[1], dc, 0, 0)
ViewPortBB,
self._ForegroundHTdc)
ScreenDC.Blit(0, 0, self.PanelSize[0],self.PanelSize[1], dc, 0, 0)
# If the canvas is in the middle of a zoom or move, the Rubber Band box needs to be re-drawn
# This seeems out of place, but it works.
if self.PrevRBBox:
# If the canvas is in the middle of a zoom or move, the Rubber Band box needs to be re-drawn
# This seeems out of place, but it works.
if self.PrevRBBox: