src/qrspec.php
public static function putFinderPattern(&$frame, $ox, $oy)
        {
            $finder = array(
                "\xc1\xc1\xc1\xc1\xc1\xc1\xc1",
                "\xc1\xc0\xc0\xc0\xc0\xc0\xc1",
                "\xc1\xc0\xc1\xc1\xc1\xc0\xc1",
                "\xc1\xc0\xc1\xc1\xc1\xc0\xc1",
                "\xc1\xc0\xc1\xc1\xc1\xc0\xc1",
                "\xc1\xc0\xc0\xc0\xc0\xc0\xc1",
                "\xc1\xc1\xc1\xc1\xc1\xc1\xc1"
            );                            
            
            for($y=0; $y<7; $y++) {
                self::set($frame, $ox, $oy+$y, $finder[$y]);
            }
        }
public static function putFinderPattern(&$frame, $ox, $oy)
        {
            $finder = array(
                "\xc1\xc1\xc1\xc1\xc1\xc1\xc1",
                "\xc1\xc0\xc0\xc0\xc0\xc0\xc1",
                "\xc1\xc0\xc1\xc1\xc1\xc0\xc1",
                "\xc1\xc0\xc1\xc1\xc1\xc0\xc1",
                "\xc1\xc0\xc1\xc1\xc1\xc0\xc1",
                "\xc1\xc0\xc0\xc0\xc0\xc0\xc1",
                "\xc1\xc1\xc1\xc1\xc1\xc1\xc1"
            );                            
            
            for($y=0; $y<7; $y++) {
                self::set($frame, $ox, $oy+$y, $finder[$y]);
            }
        }
public static function putFinderPattern ( & $ frame , $ ox , $ oy ) { $ finder = array ( "\xc1\xc1\xc1\xc1\xc1\xc1\xc1" , "\xc1\xc0\xc0\xc0\xc0\xc0\xc1" , "\xc1\xc0\xc1\xc1\xc1\xc0\xc1" , "\xc1\xc0\xc1\xc1\xc1\xc0\xc1" , "\xc1\xc0\xc1\xc1\xc1\xc0\xc1" , "\xc1\xc0\xc0\xc0\xc0\xc0\xc1" , "\xc1\xc1\xc1\xc1\xc1\xc1\xc1" ) ; for ( $ y = 0 ; $ y < 7 ; $ y ++ ) { self :: set ( $ frame , $ ox , $ oy + $ y , $ finder [ $ y ] ) ; } }
Put a finder pattern.
@param frame
@param width
@param ox,oy upper-left coordinate of the pattern
\hideinitializer
Put a finder pattern .