Lines Matching refs:area
96 $area = floor(($this->scale->size * $bcd['num_cols']) * 0.2);
97 $emblem['area'] = $area < $min ? $min:$area ;
98 $emblem['posX'] = floor(($emblem['frame'] - $emblem['area']) / 2);
198 $scale['area'] = $scale['frame'] - (($scale['margin'] * 2));
199 $scale['size'] = floor($scale['area'] / $bcd['num_cols']);
200 $scale['posX'] = $scale['margin'] + floor(($scale['area'] - ($bcd['num_cols'] * $scale['size'])) / 2);
205 $scale['area'] = $this->size;
206 $scale['size'] = floor($scale['area'] / $bcd['num_cols']);
254 $qrcodeData .= '<div style="position:absolute; z-index:2; width:'.$emblem->area.'px; height:'.$emblem->area.'px; background-image:url('.$emblem->image.'); background-size: cover; background-repeat:no-repeat; background-position: center center; top:'.$emblem->posY.'px; left:'.$emblem->posX.'px"></div>'."\n";
308 imagecopyresampled($frame, $emblemImage, ((imagesx($frame) - $emblem->area) / 2), ((imagesy($frame) - $emblem->area) / 2), 0, 0, $emblem->area, $emblem->area, imagesx($emblemImage), imagesy($emblemImage));
381 $qrcodeData .= "\t\t".'<image xlink:href="'.$emblem->image.'" x="'.$emblem->posX.'" y="'.$emblem->posY.'" height="'.$emblem->area.'" width="'.$emblem->area.'"/>'."\n";