Blame view

dompdf/lib/php-font-lib/src/FontLib/Glyph/OutlineComponent.php 751 Bytes
670b6d6f8   tuan   2016/09/22 - Copy...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  <?php
  /**
   * @package php-font-lib
   * @link    https://github.com/PhenX/php-font-lib
   * @author  Fabien Ménager <fabien.menager@gmail.com>
   * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
   * @version $Id: Font_Table_glyf.php 46 2012-04-02 20:22:38Z fabien.menager $
   */
  
  namespace FontLib\Glyph;
  /**
   * Glyph outline component
   *
   * @package php-font-lib
   */
  class OutlineComponent
  {
      public $flags;
      public $glyphIndex;
      public $a, $b, $c, $d, $e, $f;
      public $point_compound;
      public $point_component;
      public $instructions;
  
      function getMatrix()
      {
          return array(
              $this->a, $this->b,
              $this->c, $this->d,
              $this->e, $this->f,
          );
      }
  }