File/internal/svgGrapher.internal.getComputedTextLength.php

Description

Plugin internal getComputedTextLength.

Includes
 require_once (SVGGRAPHER_ELEMENTS_PATH.'/TextElement.php') (line 16)
Functions
svgGrapher_internal_getComputedTextLength (line 43)

svgGrapher_internal_getComputedTextLength()

Get the text size for a givan font. Need GD.

It's ok just with standard fonts :

  • arial
  • times new roman
  • verdana
  • sans-serif
  • serif
  • garamond
  • georgia
  • trebuchet
  • courier new
If $textElm is a string a TextElement will be create with style $st and transform $tr.

integer svgGrapher_internal_getComputedTextLength (mixed $textElm, [mixed $st = NULL], [mixed $tr = NULL])
  • mixed $textElm: TextElement or svg string style
  • mixed $st: svg Style element
  • mixed $tr: svg Transform element

Documentation generated on Tue, 23 Oct 2007 11:32:10 +0200 by phpDocumentor 1.4.0