\BarcodeBakery\Common\DrawerBCGDrawPNG

Summary

Methods
Properties
Constants
__construct()
setFilename()
draw()
setDPI()
No public properties found
No constants found
No protected methods found
$im
$filename
N/A
setInternalProperties()
detectChunks()
internalSetDPI()
internalSetC()
make_crc_table()
SHR()
update_crc()
crc()
$dpi
$crc_table
$crc_table_computed
N/A

Properties

$im

$im

$filename

$filename

$dpi

$dpi

$crc_table

$crc_table

$crc_table_computed

$crc_table_computed

Methods

__construct()

__construct(resource  $im) : mixed

Constructor.

Parameters

resource $im

Returns

mixed —

setFilename()

setFilename(string  $filename) : mixed

Sets the filename.

Parameters

string $filename

Returns

mixed —

draw()

draw() : mixed

Draws the PNG on the screen or in a file.

Returns

mixed —

setDPI()

setDPI(int  $dpi) : mixed

Sets the DPI.

Parameters

int $dpi

Returns

mixed —

setInternalProperties()

setInternalProperties(mixed  $bin) : mixed

Parameters

mixed $bin

Returns

mixed —

detectChunks()

detectChunks(mixed  $bin) : mixed

Parameters

mixed $bin

Returns

mixed —

internalSetDPI()

internalSetDPI(mixed  $bin, mixed  $chunks) : mixed

Parameters

mixed $bin
mixed $chunks

Returns

mixed —

internalSetC()

internalSetC(mixed  $bin, mixed  $chunks) : mixed

Parameters

mixed $bin
mixed $chunks

Returns

mixed —

make_crc_table()

make_crc_table() : mixed

Returns

mixed —

SHR()

SHR(mixed  $x, mixed  $n) : mixed

Parameters

mixed $x
mixed $n

Returns

mixed —

update_crc()

update_crc(mixed  $crc, mixed  $buf, mixed  $len) : mixed

Parameters

mixed $crc
mixed $buf
mixed $len

Returns

mixed —

crc()

crc(mixed  $data, mixed  $len) : mixed

Parameters

mixed $data
mixed $len

Returns

mixed —