mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-08 12:55:59 +00:00
:octocat: QRMatrix: remove property getters in favor of asymmetric visibility
This commit is contained in:
@@ -57,7 +57,7 @@ class QRImageWithLogo extends QRGdImagePNG{
|
||||
$lh = (($this->options->logoSpaceHeight - 2) * $this->options->scale);
|
||||
|
||||
// get the qrcode size
|
||||
$ql = ($this->matrix->getSize() * $this->options->scale);
|
||||
$ql = ($this->matrix->moduleCount * $this->options->scale);
|
||||
|
||||
// scale the logo and copy it over. done!
|
||||
imagecopyresampled($this->image, $im, (($ql - $lw) / 2), (($ql - $lh) / 2), 0, 0, $lw, $lh, $w, $h);
|
||||
|
||||
Reference in New Issue
Block a user