Lines Matching refs:ypos

11043 		$ypos['glyphYorigin'] = 0;
11044 $ypos['baseline-shift'] = 0;
11050 $ypos['boxtop'] = $fontdesc['Ascent'] / 1000 * $fontsize;
11051 $ypos['boxbottom'] = $fontdesc['Descent'] / 1000 * $fontsize;
11057 $ypos['boxtop'] = (0.5 + $this->baselineC) * $fontsize;
11058 $ypos['boxbottom'] = -(0.5 - $this->baselineC) * $fontsize;
11060 $fontheight = $ypos['boxtop'] - $ypos['boxbottom'];
11088 && ($blockYpos && $ypos['boxtop'] < $blockYpos['boxtop'])
11089 && ($blockYpos && $ypos['boxbottom'] > $blockYpos['boxbottom'])) {
11091 $ypos['exttop'] = $blockYpos['exttop'];
11092 $ypos['extbottom'] = $blockYpos['extbottom'];
11098 $ypos['exttop'] = $ypos['boxtop'] + $leading / 2;
11099 $ypos['extbottom'] = $ypos['boxbottom'] - $leading / 2;
11104 // $ypos['lineheight'] = $lineheight;
11105 // $ypos['fontheight'] = $fontheight;
11106 // $ypos['leading'] = $leading;
11108 return $ypos;
11123 $ypos = [];
11150 $ypos[-1] = $this->_setLineYpos($fontsize, $fontdesc, $CSSlineheight);
11154 $topy = $ypos[-1]['exttop'];
11155 $bottomy = $ypos[-1]['extbottom'];
11162 $midpoint = $ypos[-1]['boxtop'] - (($ypos[-1]['boxtop'] - $ypos[-1]['boxbottom']) / 2);
11169 $ypos[$k] = $ypos[-1];
11172 if ($ypos[$k]['boxtop'] > $topy) {
11173 $topy = $ypos[$k]['boxtop'];
11175 if ($ypos[$k]['boxbottom'] < $bottomy) {
11176 $bottomy = $ypos[$k]['boxbottom'];
11179 if ($ypos[$k]['exttop'] > $topy) {
11180 $topy = $ypos[$k]['exttop'];
11182 if ($ypos[$k]['extbottom'] < $bottomy) {
11183 $bottomy = $ypos[$k]['extbottom'];
11190 $ypos[$k] = $this->_setLineYpos($fontsize, $fontdesc, $lh, $ypos[-1]); // Lineheight=1 fixed
11207 if (($ypos[-1]['boxtop'] - $oh) < $bottomy) {
11208 $bottomy = $ypos[-1]['boxtop'] - $oh;
11209 $topy = max($topy, $ypos[-1]['boxtop']);
11212 if (($ypos[-1]['boxbottom'] + $oh) > $topy) {
11213 $topy = $ypos[-1]['boxbottom'] + $oh;
11214 $bottomy = min($bottomy, $ypos[-1]['boxbottom']);
11230 $ypos[$k] = $this->_setLineYpos($fontsize, $fontdesc, $CSSlineheight, $ypos[-1]);
11233 $ypos[$k]['baseline-shift'] = $font[$k]['textparam']['text-baseline'];
11238 // $ypos[$k] compared to $ypos[-1] or $ypos[$k-1] using $dominant_baseline and $baseline_table
11242 if ($ypos[$k]['boxtop'] > $topy) {
11243 $topy = $ypos[$k]['boxtop'];
11245 if ($ypos[$k]['boxbottom'] < $bottomy) {
11246 $bottomy = $ypos[$k]['boxbottom'];
11249 if (($ypos[$k]['boxtop'] + $ypos[$k]['baseline-shift']) > $topy) {
11250 $topy = $ypos[$k]['boxtop'] + $ypos[$k]['baseline-shift'];
11252 if (($ypos[$k]['boxbottom'] + $ypos[$k]['baseline-shift']) < $bottomy) {
11253 $bottomy = $ypos[$k]['boxbottom'] + $ypos[$k]['baseline-shift'];
11258 if ($ypos[$k]['exttop'] > $topy) {
11259 $topy = $ypos[$k]['exttop'];
11261 if ($ypos[$k]['extbottom'] < $bottomy) {
11262 $bottomy = $ypos[$k]['extbottom'];
11265 if (($ypos[$k]['exttop'] + $ypos[$k]['baseline-shift']) > $topy) {
11266 $topy = $ypos[$k]['exttop'] + $ypos[$k]['baseline-shift'];
11268 if (($ypos[$k]['extbottom'] + $ypos[$k]['baseline-shift']) < $bottomy) {
11269 $bottomy = $ypos[$k]['extbottom'] + $ypos[$k]['baseline-shift'];
11280 $bordypos[$k] = $this->_setLineYpos($bordfontsize, $bordfontdesc, $CSSlineheight, $ypos[-1]);
11292 $bgypos[$k] = $this->_setLineYpos($bgfontsize, $bgfontdesc, $CSSlineheight, $ypos[-1]);
11315 $topy = $ypos[-1]['exttop'];
11316 $bottomy = $ypos[-1]['extbottom'];
11344 // ADJUST $ypos => lineBox using $stackHeight; lineBox are all offsets from the top of stackHeight in mm
11346 $lineBox[-1]['boxtop'] = $topy - $ypos[-1]['boxtop'];
11347 $lineBox[-1]['boxbottom'] = $topy - $ypos[-1]['boxbottom'];
11348 // $lineBox[-1]['exttop'] = $topy - $ypos[-1]['exttop'];
11349 // $lineBox[-1]['extbottom'] = $topy - $ypos[-1]['extbottom'];
11350 $lineBox[-1]['glyphYorigin'] = $topy - $ypos[-1]['glyphYorigin'];
11351 $lineBox[-1]['baseline-shift'] = $ypos[-1]['baseline-shift'];
11363 $lineBox[$k]['boxtop'] = $topy - $ypos[$k]['boxtop'];
11364 $lineBox[$k]['boxbottom'] = $topy - $ypos[$k]['boxbottom'];
11365 $lineBox[$k]['glyphYorigin'] = $topy - $ypos[$k]['glyphYorigin'];
11385 $lineBox[$k]['boxtop'] = $topy - $ypos[$k]['boxtop'];
11386 $lineBox[$k]['boxbottom'] = $topy - $ypos[$k]['boxbottom'];
11387 // $lineBox[$k]['exttop'] = $topy - $ypos[$k]['exttop'];
11388 // $lineBox[$k]['extbottom'] = $topy - $ypos[$k]['extbottom'];
11389 $lineBox[$k]['glyphYorigin'] = $topy - $ypos[$k]['glyphYorigin'];
11390 $lineBox[$k]['baseline-shift'] = $ypos[$k]['baseline-shift'];
13878 $ypos = $v['Y'];
13884 $this->SetLink($internallink, $ypos, $pagenum);
26185 $ypos = $y;
26209 $this->Rect($xpos, $ypos, $ow, $oh, $fillb);
26215 $ypos = $y + $paddingT;
26228 $this->Rect($xpos, $ypos, $bw, $bch, 'F');
26430 $ypos = $y + $paddingT + $num_height + 0.5;
26443 $this->Rect($xpos, $ypos, $bw, $bch, 'F');
26524 $ypos = $y;
26552 $ypos = $y + $tlm + ($bch * $v['p'] / $arrcode['maxh']);
26553 $this->Rect($xpos, $ypos, $bw, ($v['h'] * $bch / $arrcode['maxh']), 'F');
26852 if ($type === 'Td') { // xpos,ypos
26859 } elseif ($type === 're') { // xpos,ypos,width,height
26866 } elseif ($type === 'l') { // xpos,ypos,x2pos,y2pos
26873 } elseif ($type === 'img') { // width,height,xpos,ypos
26880 } elseif ($type === 'draw') { // xpos,ypos
26887 } elseif ($type === 'bezier') { // xpos,ypos,x2pos,y2pos,x3pos,y3pos