Lines Matching refs:w
25 $objattr['border_top']['w'] = 0;
26 $objattr['border_bottom']['w'] = 0;
27 $objattr['border_left']['w'] = 0;
28 $objattr['border_right']['w'] = 0;
102 $w = 0;
104 $w = $this->sizeConverter->convert($properties['WIDTH'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width']);
205 $w = 0;
208 $w = $this->sizeConverter->convert($properties['WIDTH'], $this->mpdf->blk[$this->mpdf->blklvl]['inner_width']);
214 $extraheight = $objattr['margin_top'] + $objattr['margin_bottom'] + $objattr['border_top']['w'] + $objattr['border_bottom']['w'];
215 $extrawidth = $objattr['margin_left'] + $objattr['margin_right'] + $objattr['border_left']['w'] + $objattr['border_right']['w'];
223 $w = ($info['w'] * (25.4 / $this->mpdf->img_dpi));
235 if ($w == 0 && $h == 0) {
241 $w = abs($info['w']) / (20 * Mpdf::SCALE);
246 $w = abs($info['w']) / Mpdf::SCALE;
250 $w = ($info['w'] / Mpdf::SCALE) * (72 / $this->mpdf->img_dpi);
256 $w *= $this->mpdf->img_dpi / $info['set-dpi'];
261 $w *= $this->mpdf->img_dpi / $dpi;
268 if ($w == 0) {
269 $w = $h * $info['w'] / $info['h'];
272 $h = $w * $info['h'] / $info['w'];
280 if (($w + $extrawidth) > ($maxWidth + 0.0001)) { // mPDF 5.7.4 0.0001 to allow for rounding errors when w==maxWidth
281 $w = $maxWidth - $extrawidth;
282 $h = $w * $info['h'] / $info['w'];
286 $w = $h * $info['w'] / $info['h'];
289 $width = $w + $extrawidth;
293 $objattr['orig_w'] = $info['w'];
306 $objattr['width'] = $w + $extrawidth;
309 $objattr['image_width'] = $w;
369 if ($w) {
370 $width = $w + $xw;