| [ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
Code 128-B Barcode Render Class for PHP using the GD graphics library.<br> Code 128-B is a continuous, multilevel and full ASCII code.
| Author: | Karim Mribti, Nicola Asuni |
| License: | http://www.gnu.org/copyleft/lesser.html LGPL |
| Version: | 0.0.8a 2001-04-01 (original code) |
| File Size: | 399 lines (13 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
C128BObject:: (9 methods):
__construct()
GetCharIndex()
GetBarSize()
GetSize()
GetCheckCharValue()
DrawStart()
DrawStop()
DrawCheckChar()
DrawObject()
Class: C128BObject - X-Ref
Code 128-B Barcode Render Class for PHP using the GD graphics library.<br>| __construct($Width, $Height, $Style, $Value) X-Ref |
| Class Constructor. param: int $Width Image width in pixels. param: int $Height Image height in pixels. param: int $Style Barcode style. param: int $Value value to print on barcode. |
| GetCharIndex($char) X-Ref |
| Returns the character index. param: char $char character. return: int character index or -1 in case of error. |
| GetBarSize($xres, $char) X-Ref |
| Returns the bar size. param: int $xres Horizontal resolution. param: char $char Character. return: int barcode size. |
| GetSize($xres) X-Ref |
| Returns barcode size. param: int $xres Horizontal resolution. return: barcode size. |
| GetCheckCharValue() X-Ref |
| Returns the check-char value. return: string. |
| DrawStart($DrawPos, $yPos, $ySize, $xres) X-Ref |
| Draws the start code. param: int $DrawPos Drawing position. param: int $yPos Vertical position. param: int $ySize Vertical size. param: int $xres Horizontal resolution. return: int drawing position. |
| DrawStop($DrawPos, $yPos, $ySize, $xres) X-Ref |
| Draws the stop code. param: int $DrawPos Drawing position. param: int $yPos Vertical position. param: int $ySize Vertical size. param: int $xres Horizontal resolution. return: int drawing position. |
| DrawCheckChar($DrawPos, $yPos, $ySize, $xres) X-Ref |
| Draws the check-char code. param: int $DrawPos Drawing position. param: int $yPos Vertical position. param: int $ySize Vertical size. param: int $xres Horizontal resolution. return: int drawing position. |
| DrawObject($xres) X-Ref |
| Draws the barcode object. param: int $xres Horizontal resolution. return: bool true in case of success. |
| Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |