Logo Search packages:      
Sourcecode: yudit version File versions

double SFontTTF::width ( const SS_Matrix2D m  ) 

Return the calibrated avarage width

Parameters:
m is the transformation matrix.

Definition at line 1139 of file SFontTTF.cpp.

References SS_Matrix2D::x0.

{
  if (!isOK()) return 0.0;
  double rvle =  charWidth * m.x0;
  if (rvle < 0) return -rvle;
  return rvle;
}


Generated by  Doxygen 1.6.0   Back to index