fire an event when the program draws a pixel onto the canvas