Lines Matching refs:driver

39   function _make_wrappable(&$driver, $base_width, $font_name, $font_size, $subword_index) {  argument
45 …$subword_wrappable_width = $base_width + $driver->stringwidth(substr($this->words[$subword_index],…
49 $subword_full_width = $subword_wrappable_width + $driver->stringwidth('-',
341 function reflow_text(&$driver) { argument
356 $font_name = $this->_get_font_name($driver, 0);
361 $ascender = $driver->font_ascender($font_name, $this->encodings[0]);
367 $descender = $driver->font_descender($font_name, $this->encodings[0]);
396 $font_name = $this->_get_font_name($driver, $i);
398 $current_width = $driver->stringwidth($this->words[$i],
405 …$this->_wrappable = array_merge($this->_wrappable, $this->_make_wrappable($driver, $width, $font_n…
424 $this->_widths[] = $driver->stringwidth($this->words[$i]{$j},
437 function show(&$driver) { argument
452 $top_inside = $top >= $driver->getPageBottom()-EPSILON;
453 $bottom_inside = $bottom >= $driver->getPageBottom()-EPSILON;
459 return $this->_showText($driver);
462 function _showText(&$driver) { argument
464 return $this->_showTextWrapped($driver);
466 return $this->_showTextNormal($driver);
470 function _showTextWrapped(&$driver) { argument
472 parent::show($driver);
479 $driver->decoration($decoration['U'],
501 $status = $driver->setfont($this->_get_font_name($driver, $i),
509 $driver->show_xy($this->words[$i],
517 $status = $driver->setfont($this->_get_font_name($driver, $index),
525 $driver->show_xy(substr($this->words[$index],0,$this->wrapped[0][1])."-",
535 $driver->show_xy(substr($this->words[$index],$this->wrapped[0][1]),
542 $status = $driver->setfont($this->_get_font_name($driver, $i),
550 $driver->show_xy($this->words[$i],
560 function _showTextNormal(&$driver) { argument
562 parent::show($driver);
569 $driver->decoration($decoration['U'],
586 $status = $driver->setfont($this->_get_font_name($driver, $i),
594 $driver->show_xy($this->words[$i],
611 $status = $driver->setfont($this->_get_font_name($driver, $i),
615 $driver->show_xy($this->words[$i]{$j}, $left, $top);
625 function show_fixed(&$driver) { argument
633 return $this->_showText($driver);