Class: I25Object: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
*Extends the class: BarcodeObject. | *Extends the class: BarcodeObject. | ||
*Parent Classses: BarcodeObject | *Parent Classses: BarcodeObject | ||
*Location: Part of the module [[ | *Location: Part of the module [[TextLayout Tools Module List#tcpdf|tcpdf]] in the package [https://launchpad.net/textlayout TextLayout Tools] | ||
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.0-release/annotate/head:/modules/tcpdf/tcpdf/barcode/i25object.php modules/tcpdf/tcpdf/barcode/i25object.php] | *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/textlayout/4.0.0-release/annotate/head:/modules/tcpdf/tcpdf/barcode/i25object.php modules/tcpdf/tcpdf/barcode/i25object.php] | ||
*Author: Karim Mribti, Nicola Asuni | *Author: Karim Mribti, Nicola Asuni |
Revision as of 12:08, 19 October 2009
This article describes the class I25Object.
- Extends the class: BarcodeObject.
- Parent Classses: BarcodeObject
- Location: Part of the module tcpdf in the package TextLayout Tools
- Source: Defined in the file modules/tcpdf/tcpdf/barcode/i25object.php
- Author: Karim Mribti, Nicola Asuni
- Author: Karim Mribti, Nicola Asuni
- Since: 2001-03-25
- Since: 2001-03-25
I25 Barcode Render Class for PHP using the GD graphics library.<br< Interleaved 2 of 5 is a numeric only bar code with a optional check number. @name BarcodeObject @license http://www.gnu.org/copyleft/lesser.html LGPL I25 Barcode Render Class for PHP using the GD graphics library.<br< Interleaved 2 of 5 is a numeric only bar code with a optional check number. @name BarcodeObject @license http://www.gnu.org/copyleft/lesser.html LGPL
Methods
DrawObject()
Draws the barcode object.
- Signature: public function DrawObject($xres)
- Parameters:
- int $xres
Horizontal resolution.
- int $xres
- Returns: bool
true in case of success.
DrawStart()
Draws the start code.
- Signature: private function DrawStart($DrawPos,$yPos,$ySize,$xres)
- Parameters:
- Returns: int
drawing position. @access private
DrawStop()
Draws the stop code.
- Signature: private function DrawStop($DrawPos,$yPos,$ySize,$xres)
- Parameters:
- Returns: int
drawing position. @access private
GetSize()
Returns barcode size.
- Signature: private function GetSize($xres)
- Parameters:
- int $xres
Horizontal resolution.
- int $xres
- Returns: barcode
size. @access private
__construct()
Class Constructor.