Searched refs:fLineHeight (Results 1 – 10 of 10) sorted by relevance
97 float fLineHeight = 0; in CreateRootStyle() local101 fLineHeight = para->GetLineHeight(); in CreateRootStyle()156 pStyle->SetLineHeight(fLineHeight); in CreateRootStyle()475 float fLineHeight = 0; in GetLineHeight() local477 fLineHeight = pStyle->GetLineHeight(); in GetLineHeight()481 fLineHeight = para->GetLineHeight(); in GetLineHeight()486 if (fLineHeight < 0.1f) in GetLineHeight()487 fLineHeight = fFontSize; in GetLineHeight()489 fLineHeight = std::min(fLineHeight, fFontSize); in GetLineHeight()490 } else if (fLineHeight < 0.1f) { in GetLineHeight()[all …]
345 float fLineHeight = m_pLoader->m_lineHeights[i]; in DoLayout() local346 if (i == iLineIndex && fLineHeight - fContentAreaHeight > 0.001) in DoLayout()349 if (fLinePos + fLineHeight - fContentAreaHeight > 0.001) { in DoLayout()372 fLinePos += fLineHeight; in DoLayout()535 float fLineHeight = m_pLoader->m_lineHeights[i]; in ItemBlocks() local536 if (fLinePos + fLineHeight - rtText.height > 0.001) { in ItemBlocks()542 fLinePos += fLineHeight; in ItemBlocks()1047 float fLineHeight = m_textParser.GetLineHeight( in AppendTextLine() local1051 if (fLineHeight < fLineHeightTmp) in AppendTextLine()1052 fLineHeight = fLineHeightTmp; in AppendTextLine()[all …]
1188 float fLineHeight = m_pNode->GetLineHeight(); in FindSplitPos() local1190 float fTextHeight = iLinesCount * fLineHeight - fLineHeight + fFontSize; in FindSplitPos()1255 if ((fCalcHeight - fTopInset - fSpaceAbove < fLineHeight)) { in FindSplitPos()1269 if (fCalcHeight - fStartOffset < fLineHeight) { in FindSplitPos()1283 (int32_t)((fTextNum + (fLineHeight - fFontSize)) / fLineHeight); in FindSplitPos()1302 iLineNum = (int32_t)(fTextNum / fLineHeight); in FindSplitPos()1306 float fSplitHeight = iLineNum * fLineHeight + fCapReserve + fStartOffset; in FindSplitPos()
58 le_int32 fLineHeight; member137 flow->fLineHeight = -1; in pf_create()216 flow->fLineHeight = ascent + descent + leading; in pf_create()259 return obj->fLineHeight; in pf_getLineHeight()351 y += obj->fLineHeight; in pf_draw()
70 le_int32 fLineHeight; variable79 return fLineHeight; in getLineHeight()
85 fLineHeight(-1), fAscent(-1), fWidth(-1), fHeight(-1), fParagraphLevel(UBIDI_DEFAULT_LTR) in Paragraph()163 fLineHeight = ascent + descent + leading; in Paragraph()259 y += fLineHeight; in draw()
138 void CFX_CSSComputedStyle::SetLineHeight(float fLineHeight) { in SetLineHeight() argument139 m_InheritedData.m_fLineHeight = fLineHeight; in SetLineHeight()
86 void SetLineHeight(float fLineHeight);
1574 float fLineHeight = 0; in GetLineHeight() local1577 fLineHeight = para->GetLineHeight(); in GetLineHeight()1579 if (fLineHeight < 1) in GetLineHeight()1580 fLineHeight = GetFontSize() * 1.2f; in GetLineHeight()1581 return fLineHeight; in GetLineHeight()
494 float fLineHeight = 0.0f; in FindTextlineFlowOrientation() local521 if (fLineHeight <= 0.0f) in FindTextlineFlowOrientation()522 fLineHeight = pPageObj->m_Top - pPageObj->m_Bottom; in FindTextlineFlowOrientation()524 const int32_t nDoubleLineHeight = 2 * fLineHeight; in FindTextlineFlowOrientation()