Searched refs:maxCharWidth (Results 1 – 3 of 3) sorted by relevance
318 float maxCharWidth = 0.f; in preferredContentLogicalWidth() local325 maxCharWidth = scaleEmToUnits(4027); in preferredContentLogicalWidth()327 maxCharWidth = roundf(style()->font().primaryFont()->maxCharWidth()); in preferredContentLogicalWidth()330 if (maxCharWidth > 0.f) in preferredContentLogicalWidth()331 result += maxCharWidth - charWidth; in preferredContentLogicalWidth()
2965 float maxCharWidth = lineGrid->style()->font().primaryFont()->maxCharWidth(); in adjustLogicalLeftOffsetForLine() local2966 if (!maxCharWidth) in adjustLogicalLeftOffsetForLine()2978 …float remainder = fmodf(maxCharWidth - fmodf(left + layoutOffset - lineGridOffset, maxCharWidth), … in adjustLogicalLeftOffsetForLine()3003 float maxCharWidth = lineGrid->style()->font().primaryFont()->maxCharWidth(); in adjustLogicalRightOffsetForLine() local3004 if (!maxCharWidth) in adjustLogicalRightOffsetForLine()3016 … float remainder = fmodf(fmodf(right + layoutOffset - lineGridOffset, maxCharWidth), maxCharWidth); in adjustLogicalRightOffsetForLine()
111 float maxCharWidth() const { return m_maxCharWidth; } in maxCharWidth() function112 void setMaxCharWidth(float maxCharWidth) { m_maxCharWidth = maxCharWidth; } in setMaxCharWidth() argument