Class I25Object

Description

I25 Barcode Render Class for PHP using the GD graphics library.

  • license: LGPL
  • since: 2001-03-25
  • version: 0.0.8a 2001-04-01 (original code)
  • name: BarcodeObject
  • author: Karim Mribti, Nicola Asuni

Located in /barcode/i25object.php (line 48)

BarcodeObject
   |
   --I25Object
Method Summary
I25Object __construct (int $Width, int $Height, int $Style, int $Value)
bool DrawObject (int $xres)
int DrawStart (int $DrawPos, int $yPos, int $ySize, int $xres)
int DrawStop (int $DrawPos, int $yPos, int $ySize, int $xres)
barcode GetSize (int $xres)
Variables
Methods
Constructor __construct (line 57)

Class Constructor.

  • access: public
I25Object __construct (int $Width, int $Height, int $Style, int $Value)
  • int $Width: Image width in pixels.
  • int $Height: Image height in pixels.
  • int $Style: Barcode style.
  • int $Value: value to print on barcode.

Redefinition of:
BarcodeObject::__construct()
Class Constructor.
DrawObject (line 164)

Draws the barcode object.

  • return: true in case of success.
  • access: public
bool DrawObject (int $xres)
  • int $xres: Horizontal resolution.

Redefinition of:
BarcodeObject::DrawObject()
Abstract method used to draw the barcode image.
DrawStart (line 129)

Draws the start code.

  • return: drawing position.
  • access: private
int DrawStart (int $DrawPos, int $yPos, int $ySize, int $xres)
  • int $DrawPos: Drawing position.
  • int $yPos: Vertical position.
  • int $ySize: Vertical size.
  • int $xres: Horizontal resolution.
DrawStop (line 149)

Draws the stop code.

  • return: drawing position.
  • access: private
int DrawStop (int $DrawPos, int $yPos, int $ySize, int $xres)
  • int $DrawPos: Drawing position.
  • int $yPos: Vertical position.
  • int $ySize: Vertical size.
  • int $xres: Horizontal resolution.
GetSize (line 80)

Returns barcode size.

  • return: size.
  • access: private
barcode GetSize (int $xres)
  • int $xres: Horizontal resolution.

Inherited Methods

Inherited From BarcodeObject

BarcodeObject::__construct()
BarcodeObject::DestroyObject()
BarcodeObject::DrawBorder()
BarcodeObject::DrawChar()
BarcodeObject::DrawObject()
BarcodeObject::DrawSingleBar()
BarcodeObject::DrawText()
BarcodeObject::FlushObject()
BarcodeObject::GetError()
BarcodeObject::GetFontHeight()
BarcodeObject::GetFontWidth()
BarcodeObject::getImage()
BarcodeObject::GetStyle()
BarcodeObject::SetFont()
BarcodeObject::SetStyle()
BarcodeObject::__destructor()

Documentation generated on Tue, 20 Mar 2007 13:24:32 +0100 by phpDocumentor 1.3.0RC3