Lines Matching defs:mask
260 int minVersion, int maxVersion, int mask, bool boostEcl) {
261 if (!(MIN_VERSION <= minVersion && minVersion <= maxVersion && maxVersion <= MAX_VERSION) || mask < -1 || mask > 7)
316 return QrCode(version, ecl, dataCodewords, mask);
339 if (msk == -1) { // Automatically choose best mask
349 applyMask(i); // Undoes the mask due to XOR
353 mask = msk;
354 applyMask(msk); // Apply the final choice of mask
378 return mask;
411 drawFormatBits(0); // Dummy mask value; overwritten later in the constructor