Searched refs:avgCharWidth (Results 1 – 5 of 5) sorted by relevance
114 float avgCharWidth() const { return m_avgCharWidth; } in avgCharWidth() function115 void setAvgCharWidth(float avgCharWidth) { m_avgCharWidth = avgCharWidth; } in setAvgCharWidth() argument
1360 SkScalar avgCharWidth = 0.0f; in generateFontMetrics() local1364 avgCharWidth = SkIntToScalar(os2->xAvgCharWidth) / upem; in generateFontMetrics()1404 if (!avgCharWidth) { in generateFontMetrics()1405 avgCharWidth = xmax - xmin; in generateFontMetrics()1415 if (!avgCharWidth) { in generateFontMetrics()1416 avgCharWidth = xmax - xmin; in generateFontMetrics()1430 mx->fAvgCharWidth = avgCharWidth * mxy; in generateFontMetrics()1441 my->fAvgCharWidth = avgCharWidth * myy; in generateFontMetrics()
1430 SkScalar avgCharWidth = 0.0f; in generateFontMetrics() local1434 avgCharWidth = SkIntToScalar(os2->xAvgCharWidth) / upem; in generateFontMetrics()1474 if (!avgCharWidth) { in generateFontMetrics()1475 avgCharWidth = xmax - xmin; in generateFontMetrics()1485 if (!avgCharWidth) { in generateFontMetrics()1486 avgCharWidth = xmax - xmin; in generateFontMetrics()1500 mx->fAvgCharWidth = avgCharWidth * mxy; in generateFontMetrics()1511 my->fAvgCharWidth = avgCharWidth * myy; in generateFontMetrics()
73 BigEndianUShort avgCharWidth; member
223 return roundf(style()->font().primaryFont()->avgCharWidth()); in getAvgCharWidth()