Enlarge medical report watermark
This commit is contained in:
@@ -22,12 +22,12 @@ class MedicalCheckupReportPdf extends FPDF
|
||||
|
||||
$imgW = intval($info[0]);
|
||||
$imgH = intval($info[1]);
|
||||
$drawW = 158.0;
|
||||
$drawW = 175.0;
|
||||
$drawH = ($imgH / $imgW) * $drawW;
|
||||
|
||||
// Position tuned to match lab report reference.
|
||||
$x = ($this->GetPageWidth() - $drawW) / 2;
|
||||
$y = 92.0;
|
||||
$y = 86.0;
|
||||
$this->Image($this->watermarkPath, $x, $y, $drawW, $drawH, 'JPEG');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user