Index
Modules:
QRgen
,
QRgen/private/BitArray
,
QRgen/private/DrawedQRCode/DrawedQRCode
,
QRgen/private/DrawedQRCode/applyMaskPattern
,
QRgen/private/DrawedQRCode/calcPenalty
,
QRgen/private/DrawedQRCode/drawData
,
QRgen/private/DrawedQRCode/drawFunctionPatterns
,
QRgen/private/DrawedQRCode/drawInformation
,
QRgen/private/DrawedQRCode/print
,
QRgen/private/DrawedQRCode/type
,
QRgen/private/Drawing
,
QRgen/private/EncodedQRCode/EncodedQRCode
,
QRgen/private/EncodedQRCode/encodeDataCodewords
,
QRgen/private/EncodedQRCode/encodeECCodewords
,
QRgen/private/EncodedQRCode/encodeIndicators
,
QRgen/private/EncodedQRCode/interleaveDataCodewords
,
QRgen/private/EncodedQRCode/interleaveECCodewords
,
QRgen/private/EncodedQRCode/type
,
QRgen/private/EncodedQRCode/utils
,
QRgen/private/QRCode
,
QRgen/private/qrCapacities
,
QRgen/private/qrCharacters
,
QRgen/private/qrTypes
,
renderer
.
API symbols
`[]=`:
BitArray: `[]=`(self: var BitArray; i: SomeInteger; val: uint8)
Drawing: `[]=`(self: var Drawing; x, y: uint8; val: bool)
`[]`:
BitArray: `[]`[T, S](self: BitArray; i: HSlice[T, S]): seq[uint8]
BitArray: `[]`(self: BitArray; i: SomeInteger): uint8
Drawing: `[]`(self: Drawing; x: Slice[uint8]; y: uint8): uint16
Drawing: `[]`(self: Drawing; x: uint8; y: Slice[uint8]): uint16
Drawing: `[]`(self: Drawing; x, y: uint8): bool
Drawing: `[]`(self: Drawing; i: SomeInteger): uint8
utils: `[]`[T](self: QRCapacity[T]; qr: EncodedQRCode): T
QRCode: `[]`[T](self: QRCapacity[T]; qr: QRCode): T
`^=`:
utils: `^=`(self: untyped; expr: untyped)
add:
BitArray: add(self: var BitArray; val: SomeUnsignedInt; len: uint8)
alignmentPatternCoords:
drawFunctionPatterns: alignmentPatternCoords(version: QRVersion): tuple[x, y: uint8]
alignmentPatternLocations:
qrCapacities: alignmentPatternLocations
alphanumericModeCapacities:
qrCapacities: alphanumericModeCapacities
alphaNumericValues:
qrCharacters: alphaNumericValues
alphaValues:
qrCharacters: alphaValues
alRect:
print: alRect
alRectDarkGroupEnd:
print: alRectDarkGroupEnd
alRectDarkGroupStart:
print: alRectDarkGroupStart
alRectGroupEnd:
print: alRectGroupEnd
alRectGroupStart:
print: alRectGroupStart
alRectLightGroupEnd:
print: alRectLightGroupEnd
alRectLightGroupStart:
print: alRectLightGroupStart
applyBestMaskPattern:
applyMaskPattern: applyBestMaskPattern(self: var DrawedQRCode)
applyMaskPattern:
applyMaskPattern: applyMaskPattern(self: var DrawedQRCode; mask: Mask)
BitArray:
BitArray: BitArray
blockECCodewords:
qrCapacities: blockECCodewords
byteModeCapacities:
qrCapacities: byteModeCapacities
calcAlignmentPatternBounds:
applyMaskPattern: calcAlignmentPatternBounds(self: DrawedQRCode): set[uint8]
calcBlockPositions:
encodeECCodewords: calcBlockPositions(self: EncodedQRCode): seq[uint16]
calcEcBlockPositions:
interleaveECCodewords: calcEcBlockPositions(self: EncodedQRCode): seq[uint16]
calcEcStart:
utils: calcEcStart(self: EncodedQRCode): uint16
calcGeneratorPolynomial:
encodeECCodewords: calcGeneratorPolynomial(self: EncodedQRCode): seq[uint8]
calcLen:
drawInformation: calcLen[T: uint16 | uint32](bits: T): uint8
calcPenalty:
calcPenalty: calcPenalty(self: DrawedQRCode): uint16
DataSizeDefect:
QRCode: DataSizeDefect
dDown:
DirectionKind.dDown
dDownRight:
DirectionKind.dDownRight
DirectionKind:
drawData: DirectionKind
dLeft:
DirectionKind.dLeft
draw:
DrawedQRCode: draw(qr: EncodedQRCode): DrawedQRCode
drawAlignmentPatterns:
drawFunctionPatterns: drawAlignmentPatterns(self: var DrawedQRCode)
drawDarkModule:
drawFunctionPatterns: drawDarkModule(self: var DrawedQRCode)
drawData:
drawData: drawData(self: var DrawedQRCode; data: BitArray)
DrawedQRCode:
type: DrawedQRCode
drawFinderPatterns:
drawFunctionPatterns: drawFinderPatterns(self: var DrawedQRCode)
drawFormatInformation:
drawInformation: drawFormatInformation(self: var DrawedQRCode)
Drawing:
Drawing: Drawing
drawOnly:
DrawedQRCode: drawOnly(qr: EncodedQRCode): DrawedQRCode
drawTimingPatterns:
drawFunctionPatterns: drawTimingPatterns(self: var DrawedQRCode)
drawVersionInformation:
drawInformation: drawVersionInformation(self: var DrawedQRCode)
dUp:
DirectionKind.dUp
dUpRight:
DirectionKind.dUpRight
encode:
EncodedQRCode: encode(qr: QRCode): EncodedQRCode
encodeAlphanumericModeData:
encodeDataCodewords: encodeAlphanumericModeData(self: var EncodedQRCode; data: string)
encodeByteModeData:
encodeDataCodewords: encodeByteModeData(self: var EncodedQRCode; data: string)
encodeCharCountIndicator:
encodeIndicators: encodeCharCountIndicator(self: var EncodedQRCode; data: string)
encodeDataCodewords:
encodeDataCodewords: encodeDataCodewords(self: var EncodedQRCode; data: string)
EncodedQRCode:
type: EncodedQRCode
encodeECCodewords:
encodeECCodewords: encodeECCodewords(self: var EncodedQRCode)
encodeModeIndicator:
encodeIndicators: encodeModeIndicator(self: var EncodedQRCode)
encodeNumericModeData:
encodeDataCodewords: encodeNumericModeData(self: var EncodedQRCode; data: string)
encodeOnly:
EncodedQRCode: encodeOnly(qr: QRCode): EncodedQRCode
encodeSvgEmbed:
print: encodeSvgEmbed(result: var string; svgImg: string)
evaluateCondition1:
calcPenalty: evaluateCondition1(self: DrawedQRCode): uint16
evaluateCondition2:
calcPenalty: evaluateCondition2(self: DrawedQRCode): uint16
evaluateCondition3:
calcPenalty: evaluateCondition3(self: DrawedQRCode): uint16
evaluateCondition4:
calcPenalty: evaluateCondition4(self: DrawedQRCode): uint16
fillPoint:
Drawing: fillPoint(self: var Drawing; x, y: uint8)
fillRectangle:
Drawing: fillRectangle(self: var Drawing; xRange, yRange: Slice[uint8])
Drawing: fillRectangle(self: var Drawing; xyRange: Slice[uint8])
Drawing: fillRectangle(self: var Drawing; xRange: Slice[uint8]; y: uint8)
Drawing: fillRectangle(self: var Drawing; x: uint8; yRange: Slice[uint8])
finishDataEncoding:
encodeDataCodewords: finishDataEncoding(self: var EncodedQRCode)
flipPoint:
Drawing: flipPoint(self: var Drawing; x, y: uint8)
g1BlockPositions:
interleaveDataCodewords: g1BlockPositions(self: EncodedQRCode): uint16
g2BlockPositions:
interleaveDataCodewords: g2BlockPositions(self: EncodedQRCode): uint16
genDefaultCoords:
print: genDefaultCoords(self: DrawedQRCode): tuple[x, y, w, h: uint8]
renderer: genDefaultCoords(self: DrawedQRCode): tuple[x, y, w, h: uint8]
getAlphanumericValue:
qrCharacters: getAlphanumericValue(c: char): uint8
getCapacities:
QRCode: getCapacities(mode: QRMode): QRCapacity[uint16]
getMostEfficientMode:
QRCode: getMostEfficientMode(data: string): QRMode
getSmallestVersion:
QRCode: getSmallestVersion(data: string; mode: QRMode; ecLevel: QRECLevel): QRVersion
getSpecialValue:
qrCharacters: getSpecialValue(c: char): uint8
getVal16:
encodeDataCodewords: getVal16(c: char): uint16
getVal8:
encodeDataCodewords: getVal8(c: char): uint8
gf256Mod285Multiply:
encodeECCodewords: gf256Mod285Multiply(x, y: uint8): uint8
group1BlockDataCodewords:
qrCapacities: group1BlockDataCodewords
group1Blocks:
qrCapacities: group1Blocks
group2BlockDataCodewords:
qrCapacities: group2BlockDataCodewords
group2Blocks:
qrCapacities: group2Blocks
interleaveDataCodewords:
interleaveDataCodewords: interleaveDataCodewords(self: var EncodedQRCode)
interleaveECCodewords:
interleaveECCodewords: interleaveECCodewords(self: var EncodedQRCode)
isReservedArea:
applyMaskPattern: isReservedArea(x, y: uint8; bounds: set[uint8]): bool
len:
BitArray: len(self: BitArray): int
Drawing: len(self: Drawing): int
Mask:
type: Mask
mask0:
applyMaskPattern: mask0(x, y: uint8): bool
mask1:
applyMaskPattern: mask1(x, y: uint8): bool
mask2:
applyMaskPattern: mask2(x, y: uint8): bool
mask3:
applyMaskPattern: mask3(x, y: uint8): bool
mask4:
applyMaskPattern: mask4(x, y: uint8): bool
mask5:
applyMaskPattern: mask5(x, y: uint8): bool
mask6:
applyMaskPattern: mask6(x, y: uint8): bool
mask7:
applyMaskPattern: mask7(x, y: uint8): bool
moPath:
print: moPath
moPathEnd:
print: moPathEnd
moPathStart:
print: moPathStart
moRect:
print: moRect
moRectGroupEnd:
print: moRectGroupEnd
moRectGroupStart:
print: moRectGroupStart
newBitArray:
BitArray: newBitArray(size: uint16): BitArray
newDrawedQRCode:
type: newDrawedQRCode(qr: EncodedQRCode): DrawedQRCode
type: newDrawedQRCode(version: QRVersion; ecLevel: QRECLevel = qrECL): DrawedQRCode
newDrawing:
Drawing: newDrawing(size: uint8): Drawing
newEncodedQRCode:
type: newEncodedQRCode(qr: QRCode): EncodedQRCode
type: newEncodedQRCode(version: QRVersion; ecLevel: QRECLevel = qrECL; mode: QRMode = qrByteMode): EncodedQRCode
newQR:
QRgen: newQR(data: string; ecLevel: QRECLevel = qrECL; mode: QRMode = data.getMostEfficientMode; version: QRVersion = data.getSmallestVersion(mode, ecLevel)): DrawedQRCode
newQRCode:
QRCode: newQRCode(data: string; ecLevel: QRECLevel = qrECL; mode: QRMode = data.getMostEfficientMode; version: QRVersion = data.getSmallestVersion(mode, ecLevel)): QRCode
nextByte:
BitArray: nextByte(self: var BitArray): uint8
numericModeCapacities:
qrCapacities: numericModeCapacities
numericValues:
qrCharacters: numericValues
oDownwards:
OrientationKind.oDownwards
OrientationKind:
drawData: OrientationKind
oUpwards:
OrientationKind.oUpwards
pairs:
qrCharacters: pairs[T](a: set[T]): tuple[key: uint8, val: T]
Percentage:
print: Percentage
Position:
drawData: Position
printSvg:
print: printSvg(self: DrawedQRCode; light = "#ffffff"; dark = "#000000"; alRad: Percentage = 0; moRad: Percentage = 0; moSep: Percentage = 0; class: string = "qrCode"; id: string = ""; svgImg: string = ""; svgImgCoords: tuple[x, y, w, h: uint8] = self.genDefaultCoords; forceUseRect: bool = false): string
printTerminal:
print: printTerminal(self: DrawedQRCode)
QRCapacity:
qrCapacities: QRCapacity
QRCode:
QRCode: QRCode
QRECLevel:
qrTypes: QRECLevel
QRMode:
qrTypes: QRMode
QRVersion:
qrTypes: QRVersion
renderImg:
renderer: renderImg(self: DrawedQRCode; light: string = "#ffffff"; dark: string = "#000000"; alRad: Percentage = 0; moRad: Percentage = 0; moSep: Percentage = 0; pixels: uint32 = 512; img: Image = Image(width: 0, height: 0); imgCoords: tuple[x, y, w, h: uint8] = self.genDefaultCoords; padding: uint8 = 5): Image
size:
print: size(): uint8
renderer: size(): uint8
specialValues:
qrCharacters: specialValues
step:
utils: step(start, stop, step: int): int
svgEmbedEnd:
print: svgEmbedEnd
svgEmbedStart:
print: svgEmbedStart
svgEnd:
print: svgEnd
svgHeader:
print: svgHeader
totalDataCodewords:
qrCapacities: totalDataCodewords
unsafeAdd:
BitArray: unsafeAdd(self: var BitArray; val: uint8)
unsafeDelete:
BitArray: unsafeDelete(self: var BitArray; pos: uint16)
unsafeSet:
BitArray: unsafeSet(self: var BitArray; pos: uint16 | BackwardsIndex; val: uint8)