src/canvas/CanvasContext.js
function(image, position, options) {
        this._drawOnCanvasContext(options, function(g) {
            this._setImageStyles(g, options);
            g.drawImage(image, position[0], position[1]);
            return true;
        });
    }
function(image, position, options) {
        this._drawOnCanvasContext(options, function(g) {
            this._setImageStyles(g, options);
            g.drawImage(image, position[0], position[1]);
            return true;
        });
    }
function ( image , position , options ) { this . _drawOnCanvasContext ( options , function ( g ) { this . _setImageStyles ( g , options ) ; g . drawImage ( image , position [ 0 ] , position [ 1 ] ) ; return true ; } ) ; }
Copies an image to the main canvas.

@param image
the image to copy; it could be an Image or Canvas
@param position
position of the image on the main canvas
@param options
options object containing "data" field to associate with the
image
Copies an image to the main canvas .