## /barcode/barcode.php

Description

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

Classes

Class | Description
--- | ---
BarcodeObject | Barcode Render Class for PHP using the GD graphics library.

Constants
BCD_C39_NARROW_BAR = 1 (line 166)

narrow bar option

(only for c39 code)

BCD_C39_WIDE_BAR = 2 (line 172)

wide bar option

(only for c39 code)

BCD_C128_BAR_1 = 1 (line 180)

set type 1 bar

(only for c128 code)

BCD_C128_BAR_2 = 2 (line 186)

set type 2 bar

(only for c128 code)

BCD_C128_BAR_3 = 3 (line 192)

set type 3 bar

(only for c128 code)

BCD_C128_BAR_4 = 4 (line 198)

set type 4 bar

(only for c128 code)

BCD_DEFAULT_BACKGROUND_COLOR = 0xFFFFFF (line 97)

set default background color

BCD_DEFAULT_FONT = 5 (line 122)

set default font

BCD_DEFAULT_FOREGROUND_COLOR = 0x000000 (line 102)

set default foreground color

BCD_DEFAULT_HEIGHT = 120 (line 117)

set default height

BCD_DEFAULT_MAR_Y1 = (line 134)

set default margin

BCD_DEFAULT_MAR_Y2 = (line 139)

set default margin

BCD_DEFAULT_STYLE = BCS_BORDER|BCS_ALIGN_CENTER|BCS_IMAGE_PNG (line 107)

set default style options

BCD_DEFAULT_TEXT_OFFSET = 2 (line 144)

set default text offset

BCD_DEFAULT_WIDTH = 460 (line 112)

set default width

BCD_DEFAULT_XRES = 2 (line 127)

st default horizontal resolution

BCD_I25_NARROW_BAR = 1 (line 152)

narrow bar option

(only for I25 code)

BCD_I25_WIDE_BAR = 2 (line 158)

wide bar option

(only for I25 code)

BCS_ALIGN_CENTER = 4 (line 51)

option: center barcode

BCS_ALIGN_LEFT = 8 (line 56)

option: align left

BCS_ALIGN_RIGHT = 16 (line 61)

option: align right

BCS_BORDER = 1 (line 41)

option: generate barcode border

BCS_DRAW_TEXT = 128 (line 76)

option: draw text

BCS_I25_DRAW_CHECK = 2048 (line 92)

option: draw check

(only for I25 code)

BCS_IMAGE_JPEG = 32 (line 66)

option: generate JPEG image

BCS_IMAGE_PNG = 64 (line 71)

option: generate PNG image

BCS_REVERSE_COLOR = 512 (line 86)

option: reverse color

BCS_STRETCH_TEXT = 256 (line 81)

option: stretch text

BCS_TRANSPARENT = 2 (line 46)

option: use transparent background

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