src/SimpleSoftwareIO/QrCode/ImageMerge.php
private function calculateCenter()
    {
        $this->centerY = ($this->sourceImageHeight / 2) - ($this->postMergeImageHeight / 2);
        $this->centerX = ($this->sourceImageWidth / 2) - ($this->postMergeImageHeight / 2);
    }
private function calculateCenter()
    {
        $this->centerY = ($this->sourceImageHeight / 2) - ($this->postMergeImageHeight / 2);
        $this->centerX = ($this->sourceImageWidth / 2) - ($this->postMergeImageHeight / 2);
    }
private function calculateCenter ( ) { $ this -> centerY = ( $ this -> sourceImageHeight / 2 ) - ( $ this -> postMergeImageHeight / 2 ) ; $ this -> centerX = ( $ this -> sourceImageWidth / 2 ) - ( $ this -> postMergeImageHeight / 2 ) ; }
Calculates the center of the source Image using the Merge image.
Calculates the center of the source Image using the Merge image .