Lines Matching refs:box
482 $box = imagettfbbox($this->style['ttfont_sz'], 0, $this->style['ttfont'], $str);
483 $basex=$x - intval(abs($box[2]-$box[0])+1)/2 - $box[0];
490 $box = imagettfbbox($this->style['ttfont_sz'], 0, $this->style['ttfont'], $str);
491 $basex = $x - intval(abs($box[2]-$box[0])+1)/2 - $box[0];
505 $box = imagettfbbox($this->style['ttfont_sz'], 0, $this->style['ttfont'], $str);
509 $basex=$x - intval(abs($box[2]-$box[0])+1)/2 - $box[0];
530 $box = imagettfbbox($this->style['ttfont_sz'], 0, $this->style['ttfont'], '1');
532 $this->style['sm_offs'] = ($box2[2]-$box[1]) - ($box[2]-$box[0]) - 1;
534 $box = imagettfbbox($this->style['ttfont_sz'], 0, $this->style['ttfont'], 'a');
535 $this->style['minusc_voffs'] = (-$box[5])/2+1;
536 $box = imagettfbbox($this->style['ttfont_sz'], 0, $this->style['ttfont'], 'A');
537 $this->style['majusc_voffs'] = (-$box[5])/2;