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

Method makeMask

text-to-qr/lib/phpqrcode/phpqrcode.php:2651–2658  ·  view source on GitHub ↗

----------------------------------------------------------------------

($width, $frame, $maskNo, $level)

Source from the content-addressed store, hash-verified

2649
2650 //----------------------------------------------------------------------
2651 public function makeMask($width, $frame, $maskNo, $level)
2652 {
2653 $masked = array_fill(0, $width, str_repeat("\0", $width));
2654 $this->makeMaskNo($maskNo, $width, $frame, $masked);
2655 $this->writeFormatInformation($width, $masked, $maskNo, $level);
2656
2657 return $masked;
2658 }
2659
2660 //----------------------------------------------------------------------
2661 public function calcN1N3($length)

Callers 1

encodeMaskMethod · 0.45

Calls 2

makeMaskNoMethod · 0.95

Tested by

no test coverage detected