[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
Code 39 Barcode Render Class.<br> Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols.
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: | 283 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
C39Object:: (6 methods):
__construct()
GetCharIndex()
GetSize()
DrawStart()
DrawStop()
DrawObject()
__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. |
GetSize($xres) X-Ref |
Returns barcode size. param: int $xres Horizontal resolution. return: barcode size. |
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. |
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 |