Home
last modified time | relevance | path

Searched refs:fLineHeight (Results 1 – 10 of 10) sorted by relevance

/external/pdfium/xfa/fxfa/
Dcxfa_textparser.cpp97 float fLineHeight = 0; in CreateRootStyle() local
101 fLineHeight = para->GetLineHeight(); in CreateRootStyle()
156 pStyle->SetLineHeight(fLineHeight); in CreateRootStyle()
475 float fLineHeight = 0; in GetLineHeight() local
477 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 …]
Dcxfa_textlayout.cpp345 float fLineHeight = m_pLoader->m_lineHeights[i]; in DoLayout() local
346 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() local
536 if (fLinePos + fLineHeight - rtText.height > 0.001) { in ItemBlocks()
542 fLinePos += fLineHeight; in ItemBlocks()
1047 float fLineHeight = m_textParser.GetLineHeight( in AppendTextLine() local
1051 if (fLineHeight < fLineHeightTmp) in AppendTextLine()
1052 fLineHeight = fLineHeightTmp; in AppendTextLine()
[all …]
Dcxfa_widgetacc.cpp1188 float fLineHeight = m_pNode->GetLineHeight(); in FindSplitPos() local
1190 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()
/external/icu/icu4c/source/samples/layout/
Dpflow.c58 le_int32 fLineHeight; member
137 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()
Dparagraph.h70 le_int32 fLineHeight; variable
79 return fLineHeight; in getLineHeight()
Dparagraph.cpp85 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()
/external/pdfium/core/fxcrt/css/
Dcfx_csscomputedstyle.cpp138 void CFX_CSSComputedStyle::SetLineHeight(float fLineHeight) { in SetLineHeight() argument
139 m_InheritedData.m_fLineHeight = fLineHeight; in SetLineHeight()
Dcfx_csscomputedstyle.h86 void SetLineHeight(float fLineHeight);
/external/pdfium/xfa/fxfa/parser/
Dcxfa_node.cpp1574 float fLineHeight = 0; in GetLineHeight() local
1577 fLineHeight = para->GetLineHeight(); in GetLineHeight()
1579 if (fLineHeight < 1) in GetLineHeight()
1580 fLineHeight = GetFontSize() * 1.2f; in GetLineHeight()
1581 return fLineHeight; in GetLineHeight()
/external/pdfium/core/fpdftext/
Dcpdf_textpage.cpp494 float fLineHeight = 0.0f; in FindTextlineFlowOrientation() local
521 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()