linea21-externals
[ class tree: linea21-externals ] [ index: linea21-externals ] [ all elements ]

Class: C39Object

Source Location: /class/system/tcpdf/barcode/c39object.php

Class Overview

BarcodeObject
   |
   --C39Object

Code 39 Barcode Render Class.
Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols.


Author(s):

  • Karim Mribti, Nicola Asuni

Version:

  • 0.0.8a 2001-04-01 (original code)

Methods


Inherited Variables

Inherited Methods

Class: BarcodeObject

BarcodeObject::__construct()
Class Constructor.
BarcodeObject::DestroyObject()
Destroy the barcode image.
BarcodeObject::DrawBorder()
Draws the barcode border.
BarcodeObject::DrawChar()
Draws the alphanumeric code.
BarcodeObject::DrawObject()
Abstract method used to draw the barcode image.
BarcodeObject::DrawSingleBar()
Draws a single barcode bar.
BarcodeObject::DrawText()
Draws a character string.
BarcodeObject::FlushObject()
Flush the barcode image.
BarcodeObject::GetError()
Returns the current error message.
BarcodeObject::GetFontHeight()
Returns the font height.
BarcodeObject::GetFontWidth()
Returns the font width.
BarcodeObject::getImage()
Returns the image object.
BarcodeObject::GetStyle()
Returns barcode style.
BarcodeObject::SetFont()
Set font type.
BarcodeObject::SetStyle()
Set barcode style.
BarcodeObject::__destructor()
Class Destructor.

Class Details

[line 51]
Code 39 Barcode Render Class.
Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols.



Tags:

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


[ Top ]


Class Methods


constructor __construct [line 60]

C39Object __construct( int $Width, int $Height, int $Style, int $Value)

Class Constructor.



Tags:

access:  public


Overrides BarcodeObject::__construct() (Class Constructor.)

Parameters:

int   $Width   Image width in pixels.
int   $Height   Image height in pixels.
int   $Style   Barcode style.
int   $Value   value to print on barcode.

[ Top ]

method DrawObject [line 223]

bool DrawObject( int $xres)

Draws the barcode object.



Tags:

return:  true in case of success.
access:  public


Overrides BarcodeObject::DrawObject() (Abstract method used to draw the barcode image.)

Parameters:

int   $xres   Horizontal resolution.

[ Top ]


Documentation generated on Fri, 16 Oct 2009 09:28:45 +0200 by phpDocumentor 1.4.1