text: import {
      RECT_RATIO
  } from './util.js';
  
  /**
   * @name getGuide
   * @property {Object} - typo data object from 'font/index.js'
   * @property {Number} - scale
   * @returns {Object} the guide pos array
   * @description get a guide pos
   */
  export function getGuide(d, scale) {
      let guide = [],
          ggap = 10,
          i, gvx, gvy;
      for (i = 0; i < 6; i++) {
          gvx = (ggap * i) + 20;
          gvy = (ggap * i) + 90;
          guide[i] = {
              x1: (gvx * RECT_RATIO) * scale,
              x2: ((d.rect.w - (gvx * 2)) * RECT_RATIO) * scale,
              y1: (gvy * RECT_RATIO) * scale,
              y2: (((d.rect.h - gvy) * RECT_RATIO) * scale) - ((i * ggap * RECT_RATIO) * scale),
          };
      }
  
      return guide;
  }
  
  /**
   * @name getGuide
   * @property {Object} - typo data object from 'font/index.js'
   * @property {Number} - scale
   * @returns {Object} the guide pos array
   * @description get a guide pos
   */
  export function getGrid(d, scale) {
      let grid = [],
          i, gvy = [98, 340, 815];
      for (i = 0; i < 3; i++) {
          grid[i] = (gvy[i] * RECT_RATIO) * scale;
      }
  
      return grid;
  }