Registers a blit to occur when garbage collection starts or ends.
When garbage collection starts, (send (send canvas get-dc) draw-bitmap-section on on-x on-y x y w h) is called. When garbage collection ends, (send (send canvas get-dc) draw-bitmap-section off off-x off-y x y w h) is called.
The canvas is registered weakly, so it will be automatically unregistered if the canvas becomes invisible and inaccessible. Multiple registrations can be installed for the same canvas.
See also unregister-collecting-blit.