classes-Com-Tecnick-Barcode-Type-Square-Datamatrix-Placement

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Placement

Com\Tecnick\Barcode\Type\Square\Datamatrix\Placement

Placement methods for Datamatrix Barcode type class

Tags
since
2015-02-21
category

Library

author

Nicola Asuni info@tecnick.com

copyright

2010-2016 Nicola Asuni - Tecnick.com LTD

license

http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)

link
https://github.com/tecnickcom/tc-lib-barcode

Table of Contents

getPlacementMap()  : array<string|int, mixed>
Build a placement map.
placeCornerA()  : array<string|int, mixed>
Places the 8 bits of the first special corner case.
placeCornerB()  : array<string|int, mixed>
Places the 8 bits of the second special corner case.
placeCornerC()  : array<string|int, mixed>
Places the 8 bits of the third special corner case.
placeCornerD()  : array<string|int, mixed>
Places the 8 bits of the fourth special corner case.
placeModule()  : array<string|int, mixed>
Places "chr+bit" with appropriate wrapping within array[].
placeSweepDownward()  : array<string|int, mixed>
Sweep downward diagonally, inserting successive characters, (Annex F - ECC 200 symbol character placement)
placeSweepUpward()  : array<string|int, mixed>
Sweep upward diagonally, inserting successive characters, (Annex F - ECC 200 symbol character placement)
placeUtah()  : array<string|int, mixed>
Places the 8 bits of a utah-shaped symbol character.

Methods

getPlacementMap()

Build a placement map.

public getPlacementMap(int $nrow, int $ncol) : array<string|int, mixed>

(Annex F - ECC 200 symbol character placement)

Parameters
$nrow : int

Number of rows.

$ncol : int

Number of columns.

Return values
array<string|int, mixed>

placeCornerA()

Places the 8 bits of the first special corner case.

protected placeCornerA(array<string|int, mixed> $marr, int $nrow, int $ncol, int &$chr, int $row, int $col) : array<string|int, mixed>

(Annex F - ECC 200 symbol character placement)

Parameters
$marr : array<string|int, mixed>

Array of symbols

$nrow : int

Number of rows

$ncol : int

Number of columns

$chr : int

Char byte

$row : int

Current row

$col : int

Current column

Return values
array<string|int, mixed>

placeCornerB()

Places the 8 bits of the second special corner case.

protected placeCornerB(array<string|int, mixed> $marr, int $nrow, int $ncol, int &$chr, int $row, int $col) : array<string|int, mixed>

(Annex F - ECC 200 symbol character placement)

Parameters
$marr : array<string|int, mixed>

Array of symbols

$nrow : int

Number of rows

$ncol : int

Number of columns

$chr : int

Char byte

$row : int

Current row

$col : int

Current column

Return values
array<string|int, mixed>

placeCornerC()

Places the 8 bits of the third special corner case.

protected placeCornerC(array<string|int, mixed> $marr, int $nrow, int $ncol, int &$chr, int $row, int $col) : array<string|int, mixed>

(Annex F - ECC 200 symbol character placement)

Parameters
$marr : array<string|int, mixed>

Array of symbols

$nrow : int

Number of rows

$ncol : int

Number of columns

$chr : int

Char byte

$row : int

Current row

$col : int

Current column

Return values
array<string|int, mixed>

placeCornerD()

Places the 8 bits of the fourth special corner case.

protected placeCornerD(array<string|int, mixed> $marr, int $nrow, int $ncol, int &$chr, int $row, int $col) : array<string|int, mixed>

(Annex F - ECC 200 symbol character placement)

Parameters
$marr : array<string|int, mixed>

Array of symbols

$nrow : int

Number of rows

$ncol : int

Number of columns

$chr : int

Char byte

$row : int

Current row

$col : int

Current column

Return values
array<string|int, mixed>

placeModule()

Places "chr+bit" with appropriate wrapping within array[].

protected placeModule(array<string|int, mixed> $marr, int $nrow, int $ncol, int $row, int $col, int $chr, int $bit) : array<string|int, mixed>

(Annex F - ECC 200 symbol character placement)

Parameters
$marr : array<string|int, mixed>

Array of symbols.

$nrow : int

Number of rows.

$ncol : int

Number of columns.

$row : int

Row number.

$col : int

Column number.

$chr : int

Char byte.

$bit : int

Bit.

Return values
array<string|int, mixed>

placeSweepDownward()

Sweep downward diagonally, inserting successive characters, (Annex F - ECC 200 symbol character placement)

protected placeSweepDownward(array<string|int, mixed> $marr, int $nrow, int $ncol, int &$chr, int &$row, int &$col) : array<string|int, mixed>
Parameters
$marr : array<string|int, mixed>

Array of symbols

$nrow : int

Number of rows

$ncol : int

Number of columns

$chr : int

Char byte

$row : int

Current row

$col : int

Current column

Return values
array<string|int, mixed>

placeSweepUpward()

Sweep upward diagonally, inserting successive characters, (Annex F - ECC 200 symbol character placement)

protected placeSweepUpward(array<string|int, mixed> $marr, int $nrow, int $ncol, int &$chr, int &$row, int &$col) : array<string|int, mixed>
Parameters
$marr : array<string|int, mixed>

Array of symbols

$nrow : int

Number of rows

$ncol : int

Number of columns

$chr : int

Char byte

$row : int

Current row

$col : int

Current column

Return values
array<string|int, mixed>

placeUtah()

Places the 8 bits of a utah-shaped symbol character.

protected placeUtah(array<string|int, mixed> $marr, int $nrow, int $ncol, int $row, int $col, int $chr) : array<string|int, mixed>

(Annex F - ECC 200 symbol character placement)

Parameters
$marr : array<string|int, mixed>

Array of symbols.

$nrow : int

Number of rows.

$ncol : int

Number of columns.

$row : int

Row number.

$col : int

Column number.

$chr : int

Char byte.

Return values
array<string|int, mixed>
 

© 2004-2021 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy