dist/melonjs.js
function scale(x, y) {
         var _x = x,
             _y = typeof y === "undefined" ? _x : y; // set the scaleFlag


         this.currentTransform.scale(_x, _y); // resize the bounding box

         this.getBounds().resize(this.width * _x, this.height * _y);
         return this;
       }
function scale(x, y) {
         var _x = x,
             _y = typeof y === "undefined" ? _x : y; // set the scaleFlag


         this.currentTransform.scale(_x, _y); // resize the bounding box

         this.getBounds().resize(this.width * _x, this.height * _y);
         return this;
       }
function scale ( x , y ) { var _x = x , _y = typeof y === "undefined" ? _x : y ; // set the scaleFlag this . currentTransform . scale ( _x , _y ) ; // resize the bounding box this . getBounds ( ) . resize ( this . width * _x , this . height * _y ) ; return this ; }
scale the renderable around his anchor point.  Scaling actually applies changes
to the currentTransform member wich is used by the renderer to scale the object
when rendering.  It does not scale the object itself.  For example if the renderable
is an image, the image.width and image.height properties are unaltered but the currentTransform
member will be changed.
@name scale
@memberOf me.Renderable.prototype
@function
@param {Number} x a number representing the abscissa of the scaling vector.
@param {Number} [y=x] a number representing the ordinate of the scaling vector.
@return {me.Renderable} Reference to this object for method chaining
scale the renderable around his anchor point . Scaling actually applies changes to the currentTransform member wich is used by the renderer to scale the object when rendering . It does not scale the object itself . For example if the renderable is an image the image . width and image . height properties are unaltered but the currentTransform member will be changed .