MCPcopy Create free account
hub / github.com/codemistic/Web-Development / mask1

Method mask1

text-to-qr/lib/phpqrcode/phpqrcode.php:2561–2561  ·  view source on GitHub ↗
($x, $y)

Source from the content-addressed store, hash-verified

2559 //----------------------------------------------------------------------
2560 public function mask0($x, $y) { return ($x+$y)&1; }
2561 public function mask1($x, $y) { return ($y&1); }
2562 public function mask2($x, $y) { return ($x%3); }
2563 public function mask3($x, $y) { return ($x+$y)%3; }
2564 public function mask4($x, $y) { return (((int)($y/2))+((int)($x/3)))&1; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected