| 285 | |
| 286 | |
| 287 | void qrcodegen::QrCode::drawAlignmentPattern(int x, int y) { |
| 288 | for (int i = -2; i <= 2; i++) { |
| 289 | for (int j = -2; j <= 2; j++) |
| 290 | setFunctionModule(x + j, y + i, std::max(std::abs(i), std::abs(j)) != 1); |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | |
| 295 | void qrcodegen::QrCode::setFunctionModule(int x, int y, bool isBlack) { |
nothing calls this directly
no test coverage detected