Lines Matching refs:bw
191 $bw = round(($v['w'] * $w), 3);
196 $barcodeData .= '<div style="background-color:'.$color.';width:'.$bw.'px;height:'.$bh.'px;position:absolute;left:'.$x.'px;top:'.$y.'px;"> </div>'."\n";
198 $x += $bw;
209 $bw = round(($v['h'] * $w / $bcd['maxh']), 3);
214 $barcodeData .= '<div style="background-color:'.$color.';width:'.$bw.'px;height:'.$bh.'px;position:absolute;left:'.$x.'px;top:'.$y.'px;"> </div>'."\n";
245 $bw = round(($v['w'] * $w), 3);
251 $bar->rectangle($x, $y, ($x + $bw - 1), ($y + $bh - 1));
253 imagefilledrectangle($png, $x, $y, ($x + $bw - 1), ($y + $bh - 1), $fgcol);
256 $x += $bw;
273 $bw = round(($v['h'] * $w / $bcd['maxh']), 3);
277 imagefilledrectangle($png, $x, $y, ($x + $bw - 1), ($y + $bh - 1), $fgcol);
329 $bw = round(($v['w'] * $w), 3);
334 $barcodeData .= "\t\t".'<rect x="'.$x.'" y="'.$y.'" width="'.$bw.'" height="'.$bh.'" />'."\n";
336 $x += $bw;
353 $bw = round(($v['h'] * $w / $bcd['maxh']), 3);
358 $barcodeData .= "\t\t".'<rect x="'.$x.'" y="'.$y.'" width="'.$bw.'" height="'.$bh.'" />'."\n";