Class: C128CObject (Development)
From IHRIS Wiki
For other versions, see Class: C128CObject (versions) .
This article describes the class C128CObject .
- Extends the class: BarcodeObject.
- Location: Part of the module tcpdf in the package TextLayout Tools 4.0-dev
- Source: Defined in the file modules/tcpdf/tcpdf/barcode/c128cobject.php on line 49
- Author: Karim Mribti, Nicola Asuni
- Author: Karim Mribti, Nicola Asuni
- Since: 2001-03-25
- Since: 2001-03-25
Code 128-C Barcode Render Class for PHP using the GD graphics library.
Code 128-C is numeric only and provides the most efficiency. @name BarcodeObject @license http://www.gnu.org/copyleft/lesser.html LGPL Code 128-C Barcode Render Class for PHP using the GD graphics library.
Code 128-C is numeric only and provides the most efficiency. @name BarcodeObject @license http://www.gnu.org/copyleft/lesser.html LGPL
Methods
DrawCheckChar()
Draws the check-char code.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c128cobject.php on line 347
- Signature: private function DrawCheckChar($DrawPos,$yPos,$ySize,$xres)
- Parameters:
- Returns: int
drawing position. @access private
DrawObject()
Draws the barcode object.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c128cobject.php on line 366
- Signature: public function DrawObject($xres)
- Parameters:
- int $xres
Horizontal resolution.
- int $xres
- Returns: bool
true in case of success.
DrawStart()
Draws the start code.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c128cobject.php on line 299
- Signature: private function DrawStart($DrawPos,$yPos,$ySize,$xres)
- Parameters:
- Returns: int
drawing position. @access private
DrawStop()
Draws the stop code.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c128cobject.php on line 322
- Signature: private function DrawStop($DrawPos,$yPos,$ySize,$xres)
- Parameters:
- Returns: int
drawing position. @access private
GetBarSize()
Returns the bar size.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c128cobject.php on line 199
- Signature: private function GetBarSize($xres,$char)
- Parameters:
- int $xres
Horizontal resolution. - char $char
Character.
- int $xres
- Returns: int
barcode size. @access private
GetCharIndex()
Returns the character index.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c128cobject.php on line 183
- Signature: private function GetCharIndex($char)
- Parameters:
- char $char
character.
- char $char
- Returns: int
character index or -1 in case of error. @access private
GetCheckCharValue()
Returns the check-char value.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c128cobject.php on line 278
- Signature: private function GetCheckCharValue()
- Returns: string.@access private
GetSize()
Returns barcode size.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c128cobject.php on line 230
- Signature: private function GetSize($xres)
- Parameters:
- int $xres
Horizontal resolution.
- int $xres
- Returns: barcode
size. @access private
__construct()
Class Constructor.
- Defined in textlayout/modules/tcpdf/tcpdf/barcode/c128cobject.php on line 58
- Signature: public function __construct($Width,$Height,$Style,$Value)
- Parameters: