Searched refs:qrWidth (Results 1 – 1 of 1) sorted by relevance
150 int32_t qrWidth = qrcode.getSize(); in FillQrCodeColor() local151 if (qrWidth <= 0) { in FillQrCodeColor()157 uint16_t outFilePixelPrescaler = width_ / qrWidth; in FillQrCodeColor()158 int32_t offsetX = (width - outFilePixelPrescaler * qrWidth) / 2; // 2: half in FillQrCodeColor()159 int32_t offsetY = (height - outFilePixelPrescaler * qrWidth) / 2; // 2: half in FillQrCodeColor()164 for (int32_t y = 0; y < qrWidth; ++y) { in FillQrCodeColor()166 for (int32_t x = 0; x < qrWidth; ++x) { in FillQrCodeColor()