Example #1
0
 /**
  * Calculate the rendered width of the current word.
  *
  * Calculate the width of the passed word, using the currently set text
  * formatting options.
  *
  * @param string $word
  * @return float
  */
 public function calculateWordWidth($word)
 {
     // Just required to read rendering properties of the current driver, no
     // recording required.
     return $this->driver->calculateWordWidth($word);
 }