Lines Matching +refs:round +refs:b
167 $b = hexdec(substr($color, 4, 2));
171 $b = hexdec(substr($color, 2, 1).substr($color, 2, 1));
174 return [$r, $g, $b];
191 $bw = round(($v['w'] * $w), 3);
192 $bh = round(($v['h'] * $h / $bcd['maxh']), 3);
194 $y = round(($v['p'] * $h / $bcd['maxh']), 3);
209 $bw = round(($v['h'] * $w / $bcd['maxh']), 3);
210 $bh = round(($v['w'] * $h), 3);
212 $x = round(($v['p'] * $h / $bcd['maxh']), 3);
245 $bw = round(($v['w'] * $w), 3);
246 $bh = round(($v['h'] * $h / $bcd['maxh']), 3);
248 $y = round(($v['p'] * $h / $bcd['maxh']), 3);
273 $bw = round(($v['h'] * $w / $bcd['maxh']), 3);
274 $bh = round(($v['w'] * $h), 3);
276 $x = round(($v['p'] * $h / $bcd['maxh']), 3);
323 $barcodeData .= '<svg width="'.round(($bcd['maxw'] * $w), 3).'" height="'.$h.'" version="1.1" xmlns="http://www.w3.org/2000/svg">'."\n";
329 $bw = round(($v['w'] * $w), 3);
330 $bh = round(($v['h'] * $h / $bcd['maxh']), 3);
332 $y = round(($v['p'] * $h / $bcd['maxh']), 3);
347 $barcodeData .= '<svg width="'.$w.'" height="'.round(($bcd['maxw'] * $h), 3).'" version="1.1" xmlns="http://www.w3.org/2000/svg">'."\n";
353 $bw = round(($v['h'] * $w / $bcd['maxh']), 3);
354 $bh = round(($v['w'] * $h), 3);
356 $x = round(($v['p'] * $h / $bcd['maxh']), 3);