C# Class ZXing.Datamatrix.Encoder.DefaultPlacement

Symbol Character Placement Program. Adapted from Annex M.1 in ISO/IEC 16022:2000(E).
Show file Open project: Redth/ZXing.Net.Mobile Class Usage Examples

Public Methods

Method Description
DefaultPlacement ( String codewords, int numcols, int numrows ) : System

Main constructor

getBit ( int col, int row ) : bool
place ( ) : void

Private Methods

Method Description
corner1 ( int pos ) : void
corner2 ( int pos ) : void
corner3 ( int pos ) : void
corner4 ( int pos ) : void
hasBit ( int col, int row ) : bool
module ( int row, int col, int pos, int bit ) : void
setBit ( int col, int row, bool bit ) : void
utah ( int row, int col, int pos ) : void

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

Method Details

DefaultPlacement() public method

Main constructor
public DefaultPlacement ( String codewords, int numcols, int numrows ) : System
codewords String the codewords to place
numcols int the number of columns
numrows int the number of rows
return System

getBit() public method

public getBit ( int col, int row ) : bool
col int
row int
return bool

place() public method

public place ( ) : void
return void