src/video/canvas/canvas_renderer.js
function (x, y) {
            if (this.settings.subPixel === false) {
                this.backBufferContext2D.translate(~~x, ~~y);
            } else {
                this.backBufferContext2D.translate(x, y);
            }
        }
function (x, y) {
            if (this.settings.subPixel === false) {
                this.backBufferContext2D.translate(~~x, ~~y);
            } else {
                this.backBufferContext2D.translate(x, y);
            }
        }
function ( x , y ) { if ( this . settings . subPixel === false ) { this . backBufferContext2D . translate ( ~ ~ x , ~ ~ y ) ; } else { this . backBufferContext2D . translate ( x , y ) ; } }
Translates the context to the given position
@name translate
@memberOf me.CanvasRenderer.prototype
@function
@param {Number} x
@param {Number} y
Translates the context to the given position