Home
last modified time | relevance | path

Searched refs:fFontSize (Results 1 – 25 of 55) sorted by relevance

123

/external/pdfium/core/fpdfdoc/
Dcpvt_wordprops.h17 fFontSize(0.0f), in CPVT_WordProps()
33 fFontSize(fontSize), in nFontIndex()
42 fFontSize(other.fFontSize), in CPVT_WordProps()
50 FX_FLOAT fFontSize; member
Dcpdf_variabletext.h99 void SetFontSize(FX_FLOAT fFontSize) { m_fFontSize = fFontSize; } in SetFontSize() argument
190 FX_FLOAT fFontSize,
193 FX_FLOAT GetWordAscent(const CPVT_WordInfo& WordInfo, FX_FLOAT fFontSize);
194 FX_FLOAT GetWordDescent(const CPVT_WordInfo& WordInfo, FX_FLOAT fFontSize);
199 FX_FLOAT GetFontAscent(int32_t nFontIndex, FX_FLOAT fFontSize);
200 FX_FLOAT GetFontDescent(int32_t nFontIndex, FX_FLOAT fFontSize);
219 bool IsBigger(FX_FLOAT fFontSize) const;
Dctypeset.h21 CFX_SizeF GetEditSize(FX_FLOAT fFontSize);
26 void SplitLines(bool bTypeset, FX_FLOAT fFontSize);
Dcpvt_word.h26 FX_FLOAT fFontSize; variable
37 fFontSize(0.0f) {} in CPVT_Word()
Dctypeset.cpp258 CFX_SizeF CTypeset::GetEditSize(FX_FLOAT fFontSize) { in GetEditSize() argument
261 SplitLines(false, fFontSize); in GetEditSize()
274 void CTypeset::SplitLines(bool bTypeset, FX_FLOAT fFontSize) { in SplitLines() argument
309 std::max(fLineAscent, m_pVT->GetWordAscent(*pWord, fFontSize)); in SplitLines()
311 std::min(fLineDescent, m_pVT->GetWordDescent(*pWord, fFontSize)); in SplitLines()
314 m_pVT->m_fCharSpace, m_pVT->m_nHorzScale, fFontSize, in SplitLines()
401 m_pVT->GetFontAscent(m_pVT->GetDefaultFontIndex(), fFontSize); in SplitLines()
403 m_pVT->GetFontDescent(m_pVT->GetDefaultFontIndex(), fFontSize); in SplitLines()
Dcpdf_variabletext.cpp183 word.fFontSize = m_pVT->GetWordFontSize(*pWord); in GetWord()
789 FX_FLOAT fFontSize, in GetWordWidth() argument
791 return (GetCharWidth(nFontIndex, Word, SubWord) * fFontSize * kFontScale + in GetWordWidth()
812 FX_FLOAT fFontSize) { in GetFontAscent() argument
813 return (FX_FLOAT)GetTypeAscent(nFontIndex) * fFontSize * kFontScale; in GetFontAscent()
817 FX_FLOAT fFontSize) { in GetFontDescent() argument
818 return (FX_FLOAT)GetTypeDescent(nFontIndex) * fFontSize * kFontScale; in GetFontDescent()
822 FX_FLOAT fFontSize) { in GetWordAscent() argument
823 return GetFontAscent(GetWordFontIndex(WordInfo), fFontSize); in GetWordAscent()
827 FX_FLOAT fFontSize) { in GetWordDescent() argument
[all …]
Dcpdf_defaultappearance.cpp40 FX_FLOAT& fFontSize) { in GetFont() argument
42 fFontSize = 0; in GetFont()
50 fFontSize = FX_atof(syntax.GetWord()); in GetFont()
Dcpvt_generateap.cpp57 FX_FLOAT fFontSize = FX_atof(syntax.GetWord()); in GenerateWidgetAP() local
224 if (IsFloatZero(fFontSize)) in GenerateWidgetAP()
227 vt.SetFontSize(fFontSize); in GenerateWidgetAP()
290 if (IsFloatZero(fFontSize)) in GenerateWidgetAP()
293 vt.SetFontSize(fFontSize); in GenerateWidgetAP()
382 vt.SetFontSize(IsFloatZero(fFontSize) ? 12.0f : fFontSize); in GenerateWidgetAP()
1150 word.fFontSize); in GenerateEditAP()
1168 word.fFontSize); in GenerateEditAP()
1358 FX_FLOAT fFontSize) { in GetFontSetString() argument
1362 if (sFontAlias.GetLength() > 0 && fFontSize > 0) in GetFontSetString()
[all …]
/external/pdfium/xfa/fde/
Dcfde_txtedttextset.cpp41 return m_pPage->GetEngine()->GetEditParams()->fFontSize; in GetFontSize()
66 tr.fFontSize = pTextParams->fFontSize; in GetDisplayPos()
89 tr.fFontSize = pTextParams->fFontSize; in GetCharRects()
Dfde_gedevice.h46 FX_FLOAT fFontSize,
107 FX_FLOAT fFontSize,
113 FX_FLOAT fFontSize,
Dfde_gedevice.cpp127 FX_FLOAT fFontSize, in DrawString() argument
170 m_pDevice->DrawNormalText(iCurCount, pCurCP, &FxFont, -fFontSize, in DrawString()
173 m_pDevice->DrawNormalText(iCurCount, pCurCP, pFxFont, -fFontSize, in DrawString()
190 m_pDevice->DrawNormalText(iCurCount, pCurCP, &FxFont, -fFontSize, in DrawString()
195 return m_pDevice->DrawNormalText(iCurCount, pCurCP, pFxFont, -fFontSize, in DrawString()
Dfde_render.cpp122 FX_FLOAT fFontSize = pTextSet->GetFontSize(); in RenderText() local
126 fFontSize, &m_Transform); in RenderText()
/external/pdfium/fpdfsdk/pdfwindow/
DPWL_EditCtrl.cpp34 SetFontSize(GetCreationParam().fFontSize); in OnCreated()
124 void CPWL_EditCtrl::SetFontSize(FX_FLOAT fFontSize) { in SetFontSize() argument
125 m_pEdit->SetFontSize(fFontSize); in SetFontSize()
431 FX_FLOAT fFontSize = GetFontSize(); in GetCaretFontSize() local
438 fFontSize = word.fFontSize; in GetCaretFontSize()
441 fFontSize = section.WordProps.fFontSize; in GetCaretFontSize()
445 return fFontSize; in GetCaretFontSize()
DPWL_Wnd.h185 fFontSize = 0.0f; in Reset()
207 FX_FLOAT fFontSize; // optional member
272 virtual void SetFontSize(FX_FLOAT fFontSize);
/external/pdfium/xfa/fde/css/
Dcfde_cssstyleselector.cpp30 void CFDE_CSSStyleSelector::SetDefFontSize(FX_FLOAT fFontSize) { in SetDefFontSize() argument
31 ASSERT(fFontSize > 0); in SetDefFontSize()
32 m_fDefFontSize = fFontSize; in SetDefFontSize()
188 FX_FLOAT& fFontSize = pComputedStyle->m_InheritedData.m_fFontSize; in ApplyProperty() local
190 fFontSize = pValue.As<CFDE_CSSNumberValue>()->Apply(fFontSize); in ApplyProperty()
192 fFontSize = in ApplyProperty()
193 ToFontSize(pValue.As<CFDE_CSSEnumValue>()->Value(), fFontSize); in ApplyProperty()
481 FX_FLOAT fFontSize) { in SetLengthWithPercent() argument
490 FX_FLOAT fValue = v->Apply(fFontSize); in SetLengthWithPercent()
Dcfde_cssstyleselector.h33 void SetDefFontSize(FX_FLOAT fFontSize);
71 FX_FLOAT fFontSize);
Dcfde_csscomputedstyle.cpp73 void CFDE_CSSComputedStyle::SetFontSize(FX_FLOAT fFontSize) { in SetFontSize() argument
74 m_InheritedData.m_fFontSize = fFontSize; in SetFontSize()
/external/pdfium/xfa/fxfa/app/
Dcxfa_textparser.cpp70 FX_FLOAT fFontSize = 10; in InitCSSData() local
73 fFontSize = font.GetFontSize(); in InitCSSData()
75 m_pSelector->SetDefFontSize(fFontSize); in InitCSSData()
110 FX_FLOAT fFontSize = 10; in CreateRootStyle() local
147 fFontSize = font.GetFontSize(); in CreateRootStyle()
162 pStyle->SetFontSize(fFontSize); in CreateRootStyle()
491 FX_FLOAT fFontSize = GetFontSize(pTextProvider, pStyle); in GetLineHeight() local
493 fLineHeight = fFontSize; in GetLineHeight()
495 fLineHeight = std::min(fLineHeight, fFontSize); in GetLineHeight()
Dxfa_ffwidgetacc.cpp738 FX_FLOAT fFontSize = 10.0f; in CalcCaptionSize() local
740 fFontSize = font.GetFontSize(); in CalcCaptionSize()
742 fFontSize = widgetfont.GetFontSize(); in CalcCaptionSize()
745 szCap.height = fCapReserve > 0 ? fCapReserve : fFontSize; in CalcCaptionSize()
748 szCap.height = fFontSize; in CalcCaptionSize()
833 FX_FLOAT fFontSize = GetFontSize(); in CalculateTextContentSize() local
837 size.height += fFontSize; in CalculateTextContentSize()
853 pTextOut->SetFontSize(fFontSize); in CalculateTextContentSize()
854 pTextOut->SetLineBreakTolerance(fFontSize * 0.2f); in CalculateTextContentSize()
1239 FX_FLOAT fFontSize = GetFontSize(); in FindSplitPos() local
[all …]
Dcxfa_textlayout.cpp151 FX_FLOAT fFontSize = m_textParser.GetFontSize(m_pTextProvider, nullptr); in InitBreak() local
152 m_pBreak->SetFontSize(fFontSize); in InitBreak()
154 m_pBreak->SetLineBreakTolerance(fFontSize * 0.2f); in InitBreak()
233 FX_FLOAT fFontSize = m_textParser.GetFontSize(m_pTextProvider, pStyle); in InitBreak() local
234 m_pBreak->SetFontSize(fFontSize); in InitBreak()
235 m_pBreak->SetLineBreakTolerance(fFontSize * 0.2f); in InitBreak()
1056 pTP->fFontSize = m_textParser.GetFontSize(m_pTextProvider, pStyle.Get()); in AppendTextLine()
1167 pPiece->fFontSize, &tmDoc2Device); in RenderString()
1195 pt1.x + pCharPos[j].m_FontCharWidth * pPiece->fFontSize / 1000.0f; in RenderPath()
1205 pCharPos[iChars - 1].m_FontCharWidth * pPiece->fFontSize / 1000.0f; in RenderPath()
[all …]
Dxfa_textpiece.h35 FX_FLOAT fFontSize; variable
/external/pdfium/xfa/fgas/layout/
Dfgas_textbreak.cpp117 void CFX_TxtBreak::SetFontSize(FX_FLOAT fFontSize) { in SetFontSize() argument
118 int32_t iFontSize = FXSYS_round(fFontSize * 20.0f); in SetFontSize()
1161 FX_FLOAT fFontSize = pTxtRun->fFontSize; in GetDisplayPos() local
1162 int32_t iFontSize = FXSYS_round(fFontSize * 20.0f); in GetDisplayPos()
1166 FX_FLOAT fFontHeight = fFontSize; in GetDisplayPos()
1183 fX += (rtText.width - fFontSize) / 2.0f; in GetDisplayPos()
1190 fYBase = rtText.top + (rtText.height - fFontSize) / 2.0f; in GetDisplayPos()
1384 fCharWidth = fFontSize * iCharWidth / 1000.0f; in GetDisplayPos()
1385 fCharHeight = fFontSize * iCharHeight / 1000.0f; in GetDisplayPos()
1397 FX_FLOAT fOffset = fFontSize * (iCharWidth - iFormWidth) / 2000.0f; in GetDisplayPos()
[all …]
Dfgas_rtfbreak.cpp94 void CFX_RTFBreak::SetFontSize(FX_FLOAT fFontSize) { in SetFontSize() argument
95 int32_t iFontSize = FXSYS_round(fFontSize * 20.0f); in SetFontSize()
873 FX_FLOAT fFontSize = pText->fFontSize; in GetDisplayPos() local
874 int32_t iFontSize = FXSYS_round(fFontSize * 20.0f); in GetDisplayPos()
878 FX_FLOAT fFontHeight = fFontSize; in GetDisplayPos()
952 fCharWidth = fFontSize * iCharWidth / 1000.0f; in GetDisplayPos()
953 fCharHeight = fFontSize * iCharHeight / 1000.0f; in GetDisplayPos()
1025 fFontSize(12.0f), in FX_RTFTEXTOBJ()
/external/pdfium/fpdfsdk/
Dcpdfsdk_widget.cpp591 FX_FLOAT fFontSize = 0.0f; in GetFontSize() local
592 pDa.GetFont(csFont, fFontSize); in GetFontSize()
594 return fFontSize; in GetFontSize()
932 FX_FLOAT fFontSize = 12.0f; local
942 da.GetFont(csNameTag, fFontSize);
1002 pNormalIcon, iconFit, csNormalCaption, crText, fFontSize, nLayout);
1023 pRolloverIcon, iconFit, csRolloverCaption, crText, fFontSize,
1059 pDownIcon, iconFit, csDownCaption, crText, fFontSize, nLayout);
1372 FX_FLOAT fFontSize = GetFontSize(); local
1373 if (IsFloatZero(fFontSize))
[all …]
/external/pdfium/fpdfsdk/fxedit/
Dfxet_edit.cpp46 FX_FLOAT fFontSize) { in GetFontSetString() argument
51 if (sFontAlias.GetLength() <= 0 || fFontSize <= 0) in GetFontSetString()
55 sRet << "/" << sFontAlias << " " << fFontSize << " Tf\n"; in GetFontSetString()
62 FX_FLOAT fFontSize, in DrawTextString() argument
78 CPDF_TextRenderer::DrawTextString(pDevice, pos.x, pos.y, pFont, fFontSize, in DrawTextString()
85 CPDF_TextRenderer::DrawTextString(pDevice, pos.x, pos.y, pFont, fFontSize, in DrawTextString()
631 word.fFontSize); in GetEditAppearanceStream()
654 word.fFontSize); in GetEditAppearanceStream()
729 FX_FLOAT fFontSize = pEdit->GetFontSize(); in DrawEdit() local
801 pFontMap->GetPDFFont(nFontIndex), fFontSize, pUser2Device, in DrawEdit()
[all …]

123