Searched refs:typeNumber (Results 1 – 3 of 3) sorted by relevance
25 function QRCode(typeNumber, errorCorrectLevel) { argument26 this.typeNumber = typeNumber;55 if (this.typeNumber < 1 ){56 var typeNumber = 1;57 for (typeNumber = 1; typeNumber < 40; typeNumber++) {58 var rsBlocks = QRRSBlock.getRSBlocks(typeNumber, this.errorCorrectLevel);69 buffer.put(data.getLength(), QRUtil.getLengthInBits(data.mode, typeNumber) );75 this.typeNumber = typeNumber;82 this.moduleCount = this.typeNumber * 4 + 17;101 if (this.typeNumber >= 7) {[all …]
256 QRRSBlock.getRSBlocks = function(typeNumber, errorCorrectLevel) { argument258 var rsBlock = QRRSBlock.getRsBlockTable(typeNumber, errorCorrectLevel);261 …throw new Error("bad rs block @ typeNumber:" + typeNumber + "/errorCorrectLevel:" + errorCorrectLe…282 QRRSBlock.getRsBlockTable = function(typeNumber, errorCorrectLevel) { argument286 return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 0];288 return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 1];290 return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 2];292 return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 3];
83 getPatternPosition : function(typeNumber) { argument84 return QRUtil.PATTERN_POSITION_TABLE[typeNumber - 1];