Código (cpp) [Seleccionar] 
function _0x14531() {
        if (myApp.isEnableGridline) {
            _0x12F39.save();
            _0x12F39.strokeStyle = _0x12DBD ? _$_853f[547] : _$_853f[371];
            _0x12F39.globalAlpha = 0.3 * _0x1490D;
            _0x12F39.beginPath();
            var _0x151F5 = _0x15111 / _0x1490D;
            var _0x1528D = _0x137D5 / _0x1490D;
            var _0x17679 = (-_0x12BA9 + _0x151F5 / 2) % 50;
            for (; _0x151F5 > _0x17679; _0x17679 += 50) {
                _0x12F39.moveTo(_0x17679 * _0x1490D - 0.5, 0);
                _0x12F39.lineTo(_0x17679 * _0x1490D - 0.5, _0x1528D * _0x1490D)
            };
            _0x17679 = (-_0x12BF5 + _0x1528D / 2) % 50;
            for (; _0x1528D > _0x17679; _0x17679 += 50) {
                _0x12F39.moveTo(0, _0x17679 * _0x1490D - 0.5);
                _0x12F39.lineTo(_0x151F5 * _0x1490D, _0x17679 * _0x1490D - 0.5)
            };
            _0x12F39.stroke();
            _0x12F39.restore()
        }
    }
normal
function renderPolygon() {
    if (myApp.isEnableGridline) {
      ctx.save();
      ctx.strokeStyle = color ? _$_9f6f[618] : _$_9f6f[407];
      /** @type {number} */
      ctx.globalAlpha = 0 * scale;
      ctx.beginPath();
      /** @type {number} */
      var w2 = width / scale;
      /** @type {number} */
      var y = height / scale;
      /** @type {number} */
      var maxY = (-x + w2 / 2) % 50;
      for (;w2 > maxY;maxY += 50) {
        ctx.moveTo(maxY * scale - 0.5, 0);
        ctx.lineTo(maxY * scale - 0.5, y * scale);
      }· Los códigos deben ir en etiquetas GeSHi (como no está en ningún subforo asumí que es c++)
· Los códigos deben ir en su respectivo subforo
>aquí las reglas del foro
-Engel Lex
 
 
				