load the context methods onto the canvas class prototype