MatrixUtil Public class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.pdf.qrcode
iTextSharp.text.pdf.qrcode.MatrixUtil[[MatrixUtil]]
end
Members
Methods
Public Static methods
Returns | Name |
---|
void | BuildMatrix (BitVector dataBits, ErrorCorrectionLevel ecLevel, int version, int maskPattern, ByteMatrix matrix) |
int | CalculateBCHCode (int value, int poly) |
void | ClearMatrix (ByteMatrix matrix) |
void | EmbedBasicPatterns (int version, ByteMatrix matrix) |
void | EmbedDataBits (BitVector dataBits, int maskPattern, ByteMatrix matrix) |
void | EmbedTypeInfo (ErrorCorrectionLevel ecLevel, int maskPattern, ByteMatrix matrix) |
int | FindMSBSet (int value) |
void | MakeTypeInfoBits (ErrorCorrectionLevel ecLevel, int maskPattern, BitVector bits) |
void | MakeVersionInfoBits (int version, BitVector bits) |
void | MaybeEmbedVersionInfo (int version, ByteMatrix matrix) |
Details
Methods
ClearMatrix
Source code
public static void ClearMatrix(ByteMatrix matrix)
Arguments
BuildMatrix
Source code
public static void BuildMatrix(BitVector dataBits, ErrorCorrectionLevel ecLevel, int version, int maskPattern, ByteMatrix matrix)
Arguments
EmbedBasicPatterns
Source code
public static void EmbedBasicPatterns(int version, ByteMatrix matrix)
Arguments
EmbedTypeInfo
Source code
public static void EmbedTypeInfo(ErrorCorrectionLevel ecLevel, int maskPattern, ByteMatrix matrix)
Arguments
MaybeEmbedVersionInfo
Source code
public static void MaybeEmbedVersionInfo(int version, ByteMatrix matrix)
Arguments
EmbedDataBits
Source code
public static void EmbedDataBits(BitVector dataBits, int maskPattern, ByteMatrix matrix)
Arguments
FindMSBSet
Source code
public static int FindMSBSet(int value)
Arguments
Type | Name | Description |
---|
int | value | |
CalculateBCHCode
Source code
public static int CalculateBCHCode(int value, int poly)
Arguments
Type | Name | Description |
---|
int | value | |
int | poly | |
MakeTypeInfoBits
Source code
public static void MakeTypeInfoBits(ErrorCorrectionLevel ecLevel, int maskPattern, BitVector bits)
Arguments
MakeVersionInfoBits
Source code
public static void MakeVersionInfoBits(int version, BitVector bits)
Arguments
Generated with ModularDoc