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

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.

Modes extends Placement

in package

AbstractYes

Com\Tecnick\Barcode\Type\Square\Datamatrix\Modes

Modes for Datamatrix Barcode type class

Tags
since
2015-02-21
category

Library

author

Nicola Asuni info@tecnick.com

copyright

2010-2024 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

Properties

$last_enc  : int
Store last used encoding for data codewords.
$shape  : string
Datamatrix shape key (S=square, R=rectangular)

Methods

get253StateCodeword()  : int
Return the 253-state codeword
getPlacementMap()  : array<int, int>
Build a placement map.
getSwitchEncodingCodeword()  : int
Get the switching codeword to a new encoding mode (latch codeword)

Properties

$last_enc

Store last used encoding for data codewords.

public int $last_enc

$shape

Datamatrix shape key (S=square, R=rectangular)

public string $shape

Methods

get253StateCodeword()

Return the 253-state codeword

public get253StateCodeword(int $cdwpad, int $cdwpos) : int
Parameters
$cdwpad : int

Pad codeword.

$cdwpos : int

Number of data codewords from the beginning of encoded data.

Return values
int

getPlacementMap()

Build a placement map.

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

(Annex F - ECC 200 symbol character placement)

Parameters
$nrow : int

Number of rows.

$ncol : int

Number of columns.

Return values
array<int, int>

getSwitchEncodingCodeword()

Get the switching codeword to a new encoding mode (latch codeword)

public getSwitchEncodingCodeword(int $mode) : int
Parameters
$mode : int

New encoding mode.

Return values
int

Switch codeword.

On this page
 

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