| 475 | |
| 476 | |
| 477 | void QrCode::drawAlignmentPattern(int x, int y) { |
| 478 | for (int dy = -2; dy <= 2; dy++) { |
| 479 | for (int dx = -2; dx <= 2; dx++) |
| 480 | setFunctionModule(x + dx, y + dy, std::max(std::abs(dx), std::abs(dy)) != 1); |
| 481 | } |
| 482 | } |
| 483 | |
| 484 | |
| 485 | void QrCode::setFunctionModule(int x, int y, bool isDark) { |
nothing calls this directly
no outgoing calls
no test coverage detected