Exemple #1
0
 /**
  * Function: getTrueTypeFontSize
  * 
  * Returns the truetype font size to be used to draw the text with the
  * given style. This returns the fontSize in the style of the default
  * fontsize multiplied with <ttfSizeFactor>.
  */
 function getTrueTypeFontSize($style)
 {
     return mxUtils::getTrueTypeFontSize(mxUtils::getValue($style, mxConstants::$STYLE_FONTSIZE, mxConstants::$DEFAULT_FONTSIZE) * $this->scale);
 }