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