Home
last modified time | relevance | path

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

/external/pdfium/xfa/fxfa/
Dcxfa_textparser.cpp112 float fLineHeight = 0; in CreateRootStyle() local
116 fLineHeight = para->GetLineHeight(); in CreateRootStyle()
171 pStyle->SetLineHeight(fLineHeight); in CreateRootStyle()
481 float fLineHeight = 0; in GetLineHeight() local
483 fLineHeight = pStyle->GetLineHeight(); in GetLineHeight()
487 fLineHeight = para->GetLineHeight(); in GetLineHeight()
492 if (fLineHeight < 0.1f) in GetLineHeight()
493 fLineHeight = fFontSize; in GetLineHeight()
495 fLineHeight = std::min(fLineHeight, fFontSize); in GetLineHeight()
496 } else if (fLineHeight < 0.1f) { in GetLineHeight()
[all …]
Dcxfa_textlayout.cpp409 float fLineHeight = m_pLoader->lineHeights[i]; in DoSplitLayout() local
410 if (fLinePos + fLineHeight - fCalcHeight <= kHeightTolerance) { in DoSplitLayout()
411 fLinePos += fLineHeight; in DoSplitLayout()
592 float fLineHeight = m_pLoader->lineHeights[i]; in ItemBlocks() local
593 if (fLinePos + fLineHeight - rtText.height > kHeightTolerance) { in ItemBlocks()
597 fLinePos += fLineHeight; in ItemBlocks()
1062 float fLineHeight = m_pTextParser->GetLineHeight( in AppendTextLine() local
1066 if (fLineHeight < fLineHeightTmp) in AppendTextLine()
1067 fLineHeight = fLineHeightTmp; in AppendTextLine()
1069 fLineStep = std::max(fLineStep, fLineHeight); in AppendTextLine()
[all …]
/external/cronet/third_party/icu/source/samples/layout/
Dpflow.c60 le_int32 fLineHeight; member
139 flow->fLineHeight = -1; in pf_create()
218 flow->fLineHeight = ascent + descent + leading; in pf_create()
261 return obj->fLineHeight; in pf_getLineHeight()
353 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/icu/icu4c/source/samples/layout/
Dpflow.c60 le_int32 fLineHeight; member
139 flow->fLineHeight = -1; in pf_create()
218 flow->fLineHeight = ascent + descent + leading; in pf_create()
261 return obj->fLineHeight; in pf_getLineHeight()
353 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.cpp137 void CFX_CSSComputedStyle::SetLineHeight(float fLineHeight) { in SetLineHeight() argument
138 m_InheritedData.m_fLineHeight = fLineHeight; in SetLineHeight()
Dcfx_csscomputedstyle.h91 void SetLineHeight(float fLineHeight);
/external/skia/modules/skottie/src/
DSkottieProperty.cpp22 && fLineHeight == other.fLineHeight in operator ==()
/external/skia/modules/skottie/src/text/
DSkottieShaper.cpp104 fOffset.fY += fDesc.fLineHeight; in commitLine()
201 fDesc.fLineHeight*(fLineCount > 0 ? fLineCount - 1 : 0ul); in finalize()
504 desc.fLineHeight = try_scale * orig_desc.fLineHeight; in ShapeToFit()
DSkottieShaper.h155 fLineHeight = 0, member
DTextValue.cpp38 v->fLineHeight = **line_height; in Parse()
DTextAdapter.cpp623 fText->fLineHeight, in reshape()
/external/skia/modules/skottie/include/
DSkottieProperty.h64 fLineHeight = 0,
/external/pdfium/core/fpdftext/
Dcpdf_textpage.cpp556 float fLineHeight = 0.0f; in FindTextlineFlowOrientation() local
586 if (fLineHeight <= 0.0f) in FindTextlineFlowOrientation()
587 fLineHeight = pPageObj->GetRect().Height(); in FindTextlineFlowOrientation()
589 const int32_t nDoubleLineHeight = 2 * fLineHeight; in FindTextlineFlowOrientation()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_node.cpp2292 float fLineHeight = 0; in GetLineHeight() local
2295 fLineHeight = para->GetLineHeight(); in GetLineHeight()
2297 if (fLineHeight < 1) in GetLineHeight()
2298 fLineHeight = GetFontSize() * 1.2f; in GetLineHeight()
2299 return fLineHeight; in GetLineHeight()
3689 float fLineHeight = GetLineHeight(); in FindSplitPos() local
3691 float fTextHeight = iLinesCount * fLineHeight - fLineHeight + fFontSize; in FindSplitPos()
3752 fCalcHeight - fTopInset - fSpaceAbove < fLineHeight) { in FindSplitPos()
3767 if (fCalcHeight - fStartOffset < fLineHeight) { in FindSplitPos()
3782 (fTextNum + (fLineHeight - fFontSize)) / fLineHeight); in FindSplitPos()
[all …]
/external/skia/modules/skparagraph/src/
DTextLine.cpp588 …: fRun(nullptr), fLineHeight(lineHeight), fUseHalfLeading(useHalfLeading), fBaselineShift(baseline… in shapeEllipsis()
600 …fRun = std::make_unique<Run>(nullptr, info, 0, fLineHeight, fUseHalfLeading, fBaselineShift, 0, 0); in shapeEllipsis()
614 SkScalar fLineHeight; in shapeEllipsis() member in skia::textlayout::TextLine::shapeEllipsis::ShapeHandler