MCPcopy Create free account
hub / github.com/breck7/scroll / setFunctionModule

Method setFunctionModule

external/.qrcodegen.js:107–109  ·  view source on GitHub ↗
(t, e, r)

Source from the content-addressed store, hash-verified

105 for (let r = -2; r <= 2; r++) for (let n = -2; n <= 2; n++) this.setFunctionModule(t + n, e + r, 1 != Math.max(Math.abs(n), Math.abs(r)))
106 }
107 setFunctionModule(t, e, r) {
108 ;(this.modules[e][t] = r), (this.isFunction[e][t] = !0)
109 }
110 addEccAndInterleave(t) {
111 const r = this.version,
112 n = this.errorCorrectionLevel

Callers 5

drawFunctionPatternsMethod · 0.95
drawFormatBitsMethod · 0.95
drawVersionMethod · 0.95
drawFinderPatternMethod · 0.95
drawAlignmentPatternMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected