Searched refs:m_avgCharWidth (Results 1 – 4 of 4) sorted by relevance
42 , m_avgCharWidth(-1) in SimpleFontData()85 if (m_avgCharWidth <= 0.f && glyphPageZero) { in initCharWidths()89 m_avgCharWidth = widthForGlyph(digitZeroGlyph); in initCharWidths()93 if (m_avgCharWidth <= 0.f) in initCharWidths()94 m_avgCharWidth = m_fontMetrics.xHeight(); in initCharWidths()97 m_maxCharWidth = std::max(m_avgCharWidth, m_fontMetrics.floatAscent()); in initCharWidths()
110 float avgCharWidth() const { return m_avgCharWidth; } in avgCharWidth()111 void setAvgCharWidth(float avgCharWidth) { m_avgCharWidth = avgCharWidth; } in setAvgCharWidth()184 float m_avgCharWidth; variable
55 m_avgCharWidth = 0; in platformInit()162 m_avgCharWidth = SkScalarRoundToInt(metrics.fAvgCharWidth); in platformInit()164 m_avgCharWidth = xHeight; in platformInit()178 m_avgCharWidth = widthForGlyph(xGlyph); in platformInit()
277 m_avgCharWidth = 0;284 …m_avgCharWidth = scaleEmToUnits(os2AvgCharWidth, m_fontMetrics.unitsPerEm()) * m_platformData.m_te…