web/lib/Zend/Barcode/Object/Code39.php
changeset 807 877f952ae2bd
parent 207 621fa6caec0c
child 1230 68c69c656a2c
equal deleted inserted replaced
805:5e7a0fedabdf 807:877f952ae2bd
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Barcode
    16  * @package    Zend_Barcode
    17  * @subpackage Object
    17  * @subpackage Object
    18  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    20  * @version    $Id: Code39.php 23398 2010-11-19 17:17:05Z mikaelkael $
    20  * @version    $Id: Code39.php 24593 2012-01-05 20:35:02Z matthew $
    21  */
    21  */
    22 
    22 
    23 /**
    23 /**
    24  * @see Zend_Barcode_Object_ObjectAbstract
    24  * @see Zend_Barcode_Object_ObjectAbstract
    25  */
    25  */
    33 /**
    33 /**
    34  * Class for generate Code39 barcode
    34  * Class for generate Code39 barcode
    35  *
    35  *
    36  * @category   Zend
    36  * @category   Zend
    37  * @package    Zend_Barcode
    37  * @package    Zend_Barcode
    38  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
    38  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    39  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    39  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    40  */
    40  */
    41 class Zend_Barcode_Object_Code39 extends Zend_Barcode_Object_ObjectAbstract
    41 class Zend_Barcode_Object_Code39 extends Zend_Barcode_Object_ObjectAbstract
    42 {
    42 {
    43     /**
    43     /**
   161                 /* visible, width, top, length */
   161                 /* visible, width, top, length */
   162                 $width          = $c ? $this->_barThickWidth : $this->_barThinWidth;
   162                 $width          = $c ? $this->_barThickWidth : $this->_barThinWidth;
   163                 $barcodeTable[] = array((int) $visible, $width, 0, 1);
   163                 $barcodeTable[] = array((int) $visible, $width, 0, 1);
   164                 $visible = ! $visible;
   164                 $visible = ! $visible;
   165             }
   165             }
   166             $barcodeTable[] = array(0 , 1);
   166             $barcodeTable[] = array(0 , $this->_barThinWidth);
   167         }
   167         }
   168         return $barcodeTable;
   168         return $barcodeTable;
   169     }
   169     }
   170 
   170 
   171     /**
   171     /**