/external/pdfium/core/fpdfdoc/ |
D | cpdf_variabletext.h | 86 void SetFontSize(float fFontSize) { m_fFontSize = fFontSize; } in SetFontSize() argument 146 float GetFontAscent(int32_t nFontIndex, float fFontSize); 147 float GetFontDescent(int32_t nFontIndex, float fFontSize); 157 float fFontSize, 161 float GetWordAscent(const CPVT_WordInfo& WordInfo, float fFontSize); 162 float GetWordDescent(const CPVT_WordInfo& WordInfo, float fFontSize); 196 bool IsBigger(float fFontSize) const;
|
D | ctypeset.cpp | 263 CFX_SizeF CTypeset::GetEditSize(float fFontSize) { in GetEditSize() argument 266 SplitLines(false, fFontSize); in GetEditSize() 278 void CTypeset::SplitLines(bool bTypeset, float fFontSize) { in SplitLines() argument 313 std::max(fLineAscent, m_pVT->GetWordAscent(*pWord, fFontSize)); in SplitLines() 315 std::min(fLineDescent, m_pVT->GetWordDescent(*pWord, fFontSize)); in SplitLines() 318 m_pVT->GetCharSpace(), m_pVT->GetHorzScale(), fFontSize, in SplitLines() 405 m_pVT->GetFontAscent(m_pVT->GetDefaultFontIndex(), fFontSize); in SplitLines() 407 m_pVT->GetFontDescent(m_pVT->GetDefaultFontIndex(), fFontSize); in SplitLines()
|
D | cpvt_word.h | 25 float fFontSize; variable 35 fFontSize(0.0f) {} in CPVT_Word()
|
D | ctypeset.h | 22 CFX_SizeF GetEditSize(float fFontSize); 27 void SplitLines(bool bTypeset, float fFontSize);
|
D | cpdf_variabletext.cpp | 155 word.fFontSize = m_pVT->GetWordFontSize(); in GetWord() 654 float fFontSize, in GetWordWidth() argument 656 return (GetCharWidth(nFontIndex, Word, SubWord) * fFontSize * kFontScale + in GetWordWidth() 676 float CPDF_VariableText::GetFontAscent(int32_t nFontIndex, float fFontSize) { in GetFontAscent() argument 677 return (float)GetTypeAscent(nFontIndex) * fFontSize * kFontScale; in GetFontAscent() 680 float CPDF_VariableText::GetFontDescent(int32_t nFontIndex, float fFontSize) { in GetFontDescent() argument 681 return (float)GetTypeDescent(nFontIndex) * fFontSize * kFontScale; in GetFontDescent() 685 float fFontSize) { in GetWordAscent() argument 686 return GetFontAscent(GetWordFontIndex(WordInfo), fFontSize); in GetWordAscent() 690 float fFontSize) { in GetWordDescent() argument [all …]
|
D | cpdf_defaultappearance.cpp | 39 ByteString CPDF_DefaultAppearance::GetFont(float* fFontSize) { in GetFont() argument 40 *fFontSize = 0.0f; in GetFont() 49 *fFontSize = FX_atof(syntax.GetWord()); in GetFont()
|
D | cpvt_generateap.cpp | 77 float fFontSize) { in GetFontSetString() argument 81 if (sFontAlias.GetLength() > 0 && fFontSize > 0) in GetFontSetString() 82 sRet << "/" << sFontAlias << " " << fFontSize << " Tf\n"; in GetFontSetString() 135 word.fFontSize); in GenerateEditAP() 153 word.fFontSize); in GenerateEditAP() 911 float fFontSize = FX_atof(syntax.GetWord()); in GenerateFormAP() local 1084 if (IsFloatZero(fFontSize)) in GenerateFormAP() 1087 vt.SetFontSize(fFontSize); in GenerateFormAP() 1150 if (IsFloatZero(fFontSize)) in GenerateFormAP() 1153 vt.SetFontSize(fFontSize); in GenerateFormAP() [all …]
|
D | cpdf_defaultappearance.h | 32 ByteString GetFont(float* fFontSize);
|
/external/pdfium/core/fxcrt/css/ |
D | cfx_cssstyleselector.cpp | 29 void CFX_CSSStyleSelector::SetDefFontSize(float fFontSize) { in SetDefFontSize() argument 30 ASSERT(fFontSize > 0); in SetDefFontSize() 31 m_fDefFontSize = fFontSize; in SetDefFontSize() 184 float& fFontSize = pComputedStyle->m_InheritedData.m_fFontSize; in ApplyProperty() local 186 fFontSize = pValue.As<CFX_CSSNumberValue>()->Apply(fFontSize); in ApplyProperty() 188 fFontSize = in ApplyProperty() 189 ToFontSize(pValue.As<CFX_CSSEnumValue>()->Value(), fFontSize); in ApplyProperty() 476 float fFontSize) { in SetLengthWithPercent() argument 485 float fValue = v->Apply(fFontSize); in SetLengthWithPercent()
|
D | cfx_cssstyleselector.h | 31 void SetDefFontSize(float fFontSize); 68 float fFontSize);
|
D | cfx_csscomputedstyle.cpp | 73 void CFX_CSSComputedStyle::SetFontSize(float fFontSize) { in SetFontSize() argument 74 m_InheritedData.m_fFontSize = fFontSize; in SetFontSize()
|
/external/pdfium/xfa/fgas/layout/ |
D | cfx_txtbreak.cpp | 658 float fFontSize = pTxtRun->fFontSize; in GetDisplayPos() local 659 int32_t iFontSize = FXSYS_round(fFontSize * 20.0f); in GetDisplayPos() 663 float fFontHeight = fFontSize; in GetDisplayPos() 677 fYBase = rtText.top + (rtText.height - fFontSize) / 2.0f; in GetDisplayPos() 837 fCharWidth = fFontSize * iCharWidth / 1000.0f; in GetDisplayPos() 847 float fOffset = fFontSize * (iCharWidth - iFormWidth) / 2000.0f; in GetDisplayPos() 855 fYBase + fFontSize - in GetDisplayPos() 856 fFontSize * (float)rtBBox.height / (float)iMaxHeight; in GetDisplayPos() 864 pCharPos->m_Origin.y -= fFontSize * rtBox.height / iMaxHeight; in GetDisplayPos() 909 float fFontSize = pTxtRun->fFontSize; in GetCharRects() local [all …]
|
D | cfx_break.cpp | 86 void CFX_Break::SetFontSize(float fFontSize) { in SetFontSize() argument 87 int32_t iFontSize = FXSYS_round(fFontSize * 20.0f); in SetFontSize()
|
D | cfx_rtfbreak.cpp | 676 float fFontSize = pText->fFontSize; in GetDisplayPos() local 677 int32_t iFontSize = FXSYS_round(fFontSize * 20.0f); in GetDisplayPos() 681 float fFontHeight = fFontSize; in GetDisplayPos() 742 float fCharWidth = fFontSize * iCharWidth / 1000.0f; in GetDisplayPos() 783 fFontSize(12.0f), in FX_RTFTEXTOBJ()
|
/external/pdfium/fpdfsdk/pwl/ |
D | cpwl_appstream.cpp | 560 float fFontSize) { in GetFontSetString() argument 565 if (sFontAlias.GetLength() <= 0 || fFontSize <= 0) in GetFontSetString() 569 sRet << "/" << sFontAlias << " " << fFontSize << " " in GetFontSetString() 631 word.fFontSize); in GetEditAppStream() 653 word.fFontSize); in GetEditAppStream() 745 float fFontSize, in GetPushButtonAppStream() argument 755 if (IsFloatZero(fFontSize)) in GetPushButtonAppStream() 758 pEdit->SetFontSize(fFontSize); in GetPushButtonAppStream() 778 if (IsFloatZero(fFontSize)) { in GetPushButtonAppStream() 802 if (IsFloatZero(fFontSize)) { in GetPushButtonAppStream() [all …]
|
D | cpwl_list_impl.h | 80 void SetFontSize(float fFontSize) { m_fFontSize = fFontSize; } in SetFontSize() argument 106 void SetFontSize(float fFontSize);
|
D | cpwl_edit_ctrl.cpp | 31 SetFontSize(GetCreationParams().fFontSize); in OnCreated() 110 void CPWL_EditCtrl::SetFontSize(float fFontSize) { in SetFontSize() argument 111 m_pEdit->SetFontSize(fFontSize); in SetFontSize()
|
D | cpwl_wnd.cpp | 38 fFontSize(kDefaultFontSize), in CreateParams() 675 return m_CreationParams.fFontSize; in GetFontSize() 678 void CPWL_Wnd::SetFontSize(float fFontSize) { in SetFontSize() argument 679 m_CreationParams.fFontSize = fFontSize; in SetFontSize()
|
D | cpwl_list_box.cpp | 86 m_pList->SetFontSize(GetCreationParams().fFontSize); in OnCreated() 301 void CPWL_ListBox::SetFontSize(float fFontSize) { in SetFontSize() argument 302 m_pList->SetFontSize(fFontSize); in SetFontSize()
|
/external/pdfium/xfa/fde/ |
D | cfde_textout.cpp | 41 float fFontSize, in DrawString() argument 87 device->DrawNormalText(iCurCount, pCurCP, font, -fFontSize, pMatrix, in DrawString() 110 bRet = device->DrawNormalText(iCurCount, pCurCP, font, -fFontSize, pMatrix, in DrawString() 150 void CFDE_TextOut::SetFontSize(float fFontSize) { in SetFontSize() argument 151 ASSERT(fFontSize > 0); in SetFontSize() 152 m_fFontSize = fFontSize; in SetFontSize() 153 m_pTxtBreak->SetFontSize(fFontSize); in SetFontSize() 526 tr.fFontSize = m_fFontSize; in GetDisplayPos()
|
D | cfde_textout.h | 32 float fFontSize, 39 void SetFontSize(float fFontSize);
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_textlayout.cpp | 163 float fFontSize = m_textParser.GetFontSize(m_pTextProvider, nullptr); in InitBreak() local 164 m_pBreak->SetFontSize(fFontSize); in InitBreak() 166 m_pBreak->SetLineBreakTolerance(fFontSize * 0.2f); in InitBreak() 242 float fFontSize = m_textParser.GetFontSize(m_pTextProvider, pStyle); in InitBreak() local 243 m_pBreak->SetFontSize(fFontSize); in InitBreak() 244 m_pBreak->SetLineBreakTolerance(fFontSize * 0.2f); in InitBreak() 1039 pTP->fFontSize = m_textParser.GetFontSize(m_pTextProvider, pStyle.Get()); in AppendTextLine() 1146 iCount, pPiece->fFontSize, &tmDoc2Device); in RenderString() 1172 pt1.x + pCharPos[j].m_FontCharWidth * pPiece->fFontSize / 1000.0f; in RenderPath() 1182 pCharPos[iChars - 1].m_FontCharWidth * pPiece->fFontSize / 1000.0f; in RenderPath() [all …]
|
D | cxfa_textparser.cpp | 98 float fFontSize = 10; in CreateRootStyle() local 142 fFontSize = font->GetFontSize(); in CreateRootStyle() 157 pStyle->SetFontSize(fFontSize); in CreateRootStyle() 485 float fFontSize = GetFontSize(pTextProvider, pStyle); in GetLineHeight() local 487 fLineHeight = fFontSize; in GetLineHeight() 489 fLineHeight = std::min(fLineHeight, fFontSize); in GetLineHeight()
|
D | cxfa_textpiece.h | 35 float fFontSize; variable
|
/external/skia/modules/particles/src/ |
D | SkParticleAffector.cpp | 291 , fFontSize(fontSize) in SkPositionOnTextAffector() 325 SkScalar oldSize = fFontSize; in visitFields() 331 v->visit("FontSize", fFontSize); in visitFields() 333 if (fText != oldText || fFontSize != oldSize) { in visitFields() 340 SkScalar fFontSize; member in SkPositionOnTextAffector 353 SkFont font(nullptr, fFontSize); in rebuild()
|