Scroll the canvas by gain times the difference between x, y and the coordinates passed to the last scan_mark() call. This is typically bound to mouse motion events in the widget, producing the effect of dragging the canvas at high speed through its window.