Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/src/js/jgame.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 148 by tsugehara, Thu Aug 8 07:41:25 2013 UTC revision 149 by tsugehara, Fri Aug 9 07:29:02 2013 UTC
# Line 421  var jg; Line 421  var jg;
421          translate: { x: 0, y: 0 },          translate: { x: 0, y: 0 },
422          transform: { m11: 1, m12: 0, m21: 0, m22: 1, dx: 0, dy: 0 },          transform: { m11: 1, m12: 0, m21: 0, m22: 1, dx: 0, dy: 0 },
423          scale: { x: 1, y: 1 },          scale: { x: 1, y: 1 },
424            purescale: { x: 1, y: 1 },
425          globalAlpha: undefined,          globalAlpha: undefined,
426          font: undefined,          font: undefined,
427          fillStyle: undefined,          fillStyle: undefined,
# Line 2445  var jg; Line 2446  var jg;
2446                  scale: function (c, entity, params) {                  scale: function (c, entity, params) {
2447                      c.transform.apply(c, _this.getMatrix(entity.width, entity.height, params.x, params.y, 0));                      c.transform.apply(c, _this.getMatrix(entity.width, entity.height, params.x, params.y, 0));
2448                  },                  },
2449                    purescale: function (c, entity, params) {
2450                        c.scale(params.x, params.y);
2451                    },
2452                  rotate: function (c, entity, params) {                  rotate: function (c, entity, params) {
2453                      c.transform.apply(c, _this.getMatrix(entity.width, entity.height, 1, 1, params));                      c.transform.apply(c, _this.getMatrix(entity.width, entity.height, 1, 1, params));
2454                  }                  }

Legend:
Removed from v.148  
changed lines
  Added in v.149

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26