Module datamatrix::placement [−][src]
Arrangement of bits in a Data Matrix symbol.
The module contains the struct MatrixMap which can be used to to iterate over the bit positions of each codeword in the final symbol, i.e., how the black squares are mapped to the encoded data as bytes. This is used to write the encoded into a bitmap, and also to read it from a bitmap.
An abstract bitmap struct Bitmap is the final output of encoding and the input for decoding. It also contains helpers for rendering.
Structs
Bitmap | An abstract bitmap. |
MatrixMap | Representation of the bits in a Data Matrix symbol without alignment patterns. |
Enums
PathSegment | Segment of a vector graphics path. |
Traits
Bit | Abstract "bit" type used in MatrixMap. |
Visitor | Trait for a visitor to the symbol's bits. |