/external/pdfium/fpdfsdk/src/fxedit/ |
D | fxet_pageobjs.cpp | 33 FX_FLOAT fFontSize, in DrawTextString() argument 59 CPDF_TextRenderer::DrawTextString(pDevice, x, y, pFont, fFontSize, &mt, in DrawTextString() 63 CPDF_TextRenderer::DrawTextString(pDevice, x, y, pFont, fFontSize, &mt, in DrawTextString() 79 CPDF_TextRenderer::DrawTextString(pDevice, x, y, pFont, fFontSize, in DrawTextString() 83 CPDF_TextRenderer::DrawTextString(pDevice, x, y, pFont, fFontSize, in DrawTextString() 159 FX_FLOAT fFontSize = pEdit->GetFontSize(); in DrawEdit() local 244 pFontMap->GetPDFFont(nFontIndex), fFontSize, in DrawEdit() 261 pFontMap->GetPDFFont(word.nFontIndex), fFontSize, pUser2Device, in DrawEdit() 272 pFontMap->GetPDFFont(nFontIndex), fFontSize, pUser2Device, in DrawEdit() 328 word.WordProps.fFontSize = word.fFontSize; in DrawRichEdit() [all …]
|
D | fxet_ap.cpp | 48 FX_FLOAT fFontSize) { in GetFontSetString() argument 54 if (sFontAlias.GetLength() > 0 && fFontSize > 0) in GetFontSetString() 55 sRet << "/" << sFontAlias << " " << fFontSize << " Tf\n"; in GetFontSetString() 120 word.nFontIndex, word.fFontSize); in GetEditAppearanceStream() 143 word.nFontIndex, word.fFontSize); in GetEditAppearanceStream()
|
/external/pdfium/xfa/src/fgas/src/layout/ |
D | fx_unicode.cpp | 83 FX_FLOAT fFontSize, in FX_AdjustJapCharDisplayPos() argument 101 ptOffset.y = fFontSize * (1000 - rtBBox.height) / 1200.0f; in FX_AdjustJapCharDisplayPos() 104 ptOffset.y = fFontSize * (1000 - rtBBox.height) / 6000.0f; in FX_AdjustJapCharDisplayPos() 109 ptOffset.x = fFontSize * (600 - rtBBox.right()) / 1000.0f; in FX_AdjustJapCharDisplayPos() 112 ptOffset.x = fFontSize * (950 - rtBBox.right()) / 1000.0f; in FX_AdjustJapCharDisplayPos()
|
D | fx_textbreak.cpp | 116 void CFX_TxtBreak::SetFontSize(FX_FLOAT fFontSize) { in SetFontSize() argument 117 int32_t iFontSize = FXSYS_round(fFontSize * 20.0f); in SetFontSize() 1190 FX_FLOAT fFontSize = pTxtRun->fFontSize; in GetDisplayPos() local 1191 int32_t iFontSize = FXSYS_round(fFontSize * 20.0f); in GetDisplayPos() 1195 FX_FLOAT fFontHeight = fFontSize; in GetDisplayPos() 1214 fX += (rtText.width - fFontSize) / 2.0f; in GetDisplayPos() 1221 fYBase = rtText.top + (rtText.height - fFontSize) / 2.0f; in GetDisplayPos() 1407 fCharWidth = fFontSize * iCharWidth / 1000.0f; in GetDisplayPos() 1408 fCharHeight = fFontSize * iCharHeight / 1000.0f; in GetDisplayPos() 1422 FX_FLOAT fOffset = fFontSize * (iCharWidth - iFormWidth) / 2000.0f; in GetDisplayPos() [all …]
|
D | fx_rtfbreak.cpp | 111 void CFX_RTFBreak::SetFontSize(FX_FLOAT fFontSize) { in SetFontSize() argument 112 int32_t iFontSize = FXSYS_round(fFontSize * 20.0f); in SetFontSize() 1194 FX_FLOAT fFontSize = pText->fFontSize; in GetDisplayPos() local 1195 int32_t iFontSize = FXSYS_round(fFontSize * 20.0f); in GetDisplayPos() 1199 FX_FLOAT fFontHeight = fFontSize; in GetDisplayPos() 1218 fX += (rtText.width - fFontSize) / 2.0f; in GetDisplayPos() 1306 fCharWidth = fFontSize * iCharWidth / 1000.0f; in GetDisplayPos() 1307 fCharHeight = fFontSize * iCharHeight / 1000.0f; in GetDisplayPos() 1320 bAdjusted = pAdjustPos(wForm, bMBCSCode, pFont, fFontSize, in GetDisplayPos() 1327 ptOffset.x = fFontSize * (850 - rtBBox.right()) / 1000.0f; in GetDisplayPos() [all …]
|
/external/pdfium/core/include/fpdfdoc/ |
D | fpdf_vt.h | 167 fFontSize(0.0f), in CPVT_WordProps() 182 fFontSize(fontSize), in nFontIndex() 191 fFontSize(other.fFontSize), in CPVT_WordProps() 200 FX_FLOAT fFontSize; member 220 fFontSize(0), in CPVT_Word() 239 FX_FLOAT fFontSize; member 351 virtual void SetFontSize(FX_FLOAT fFontSize) = 0;
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
D | PWL_EditCtrl.cpp | 41 SetFontSize(GetCreationParam().fFontSize); in OnCreated() 136 void CPWL_EditCtrl::SetFontSize(FX_FLOAT fFontSize) { in SetFontSize() argument 137 m_pEdit->SetFontSize(fFontSize); in SetFontSize() 471 FX_FLOAT fFontSize = GetFontSize(); in GetCaretFontSize() local 478 fFontSize = word.fFontSize; in GetCaretFontSize() 481 fFontSize = section.WordProps.fFontSize; in GetCaretFontSize() 486 return fFontSize; in GetCaretFontSize()
|
D | PWL_Label.cpp | 26 SetFontSize(GetCreationParam().fFontSize); in OnCreated() 45 void CPWL_Label::SetFontSize(FX_FLOAT fFontSize) { in SetFontSize() argument 46 m_pEdit->SetFontSize(fFontSize); in SetFontSize()
|
/external/pdfium/core/src/fpdfdoc/ |
D | pdf_vt.h | 254 CPVT_Size GetSectionSize(FX_FLOAT fFontSize); 283 CPVT_Size GetEditSize(FX_FLOAT fFontSize); 288 void SplitLines(FX_BOOL bTypeset, FX_FLOAT fFontSize); 373 void SetFontSize(FX_FLOAT fFontSize) override { m_fFontSize = fFontSize; } in SetFontSize() argument 475 FX_FLOAT fFontSize, 479 FX_FLOAT GetWordAscent(const CPVT_WordInfo& WordInfo, FX_FLOAT fFontSize); 480 FX_FLOAT GetWordDescent(const CPVT_WordInfo& WordInfo, FX_FLOAT fFontSize); 487 FX_FLOAT GetFontAscent(int32_t nFontIndex, FX_FLOAT fFontSize); 488 FX_FLOAT GetFontDescent(int32_t nFontIndex, FX_FLOAT fFontSize); 508 FX_BOOL IsBigger(FX_FLOAT fFontSize);
|
D | doc_vt.cpp | 94 CPVT_Size CSection::GetSectionSize(FX_FLOAT fFontSize) { in GetSectionSize() argument 95 return CTypeset(this).GetEditSize(fFontSize); in GetSectionSize() 384 CPVT_Size CTypeset::GetEditSize(FX_FLOAT fFontSize) { in GetEditSize() argument 387 SplitLines(FALSE, fFontSize); in GetEditSize() 572 void CTypeset::SplitLines(FX_BOOL bTypeset, FX_FLOAT fFontSize) { in SplitLines() argument 609 std::max(fLineAscent, m_pVT->GetWordAscent(*pWord, fFontSize)); in SplitLines() 611 std::min(fLineDescent, m_pVT->GetWordDescent(*pWord, fFontSize)); in SplitLines() 614 m_pVT->m_fCharSpace, m_pVT->m_nHorzScale, fFontSize, in SplitLines() 701 m_pVT->GetFontAscent(m_pVT->GetDefaultFontIndex(), fFontSize); in SplitLines() 703 m_pVT->GetFontDescent(m_pVT->GetDefaultFontIndex(), fFontSize); in SplitLines() [all …]
|
D | doc_ap.cpp | 213 FX_FLOAT fFontSize) { in GetFontSetString() argument 217 if (sFontAlias.GetLength() > 0 && fFontSize > 0) { in GetFontSetString() 218 sRet << "/" << sFontAlias << " " << fFontSize << " Tf\n"; in GetFontSetString() 290 FX_FLOAT fFontSize = FX_atof(syntax.GetWord()); in GenerateWidgetAP() local 471 if (IsFloatZero(fFontSize)) { in GenerateWidgetAP() 474 vt.SetFontSize(fFontSize); in GenerateWidgetAP() 535 if (IsFloatZero(fFontSize)) { in GenerateWidgetAP() 538 vt.SetFontSize(fFontSize); in GenerateWidgetAP() 625 if (IsFloatZero(fFontSize)) { in GenerateWidgetAP() 628 vt.SetFontSize(fFontSize); in GenerateWidgetAP() [all …]
|
D | doc_utils.cpp | 53 FX_FLOAT& fFontSize) { in GetFont() argument 55 fFontSize = 0; in GetFont() 63 fFontSize = FX_atof((CFX_ByteString)syntax.GetWord()); in GetFont() 633 FX_FLOAT fFontSize; in GetDefaultInterFormFont() local 634 cDA.GetFont(csFontNameTag, fFontSize); in GetDefaultInterFormFont()
|
/external/pdfium/xfa/src/fgas/include/ |
D | fx_ucd.h | 24 FX_FLOAT fFontSize, 30 FX_FLOAT fFontSize,
|
D | fx_tbk.h | 84 fFontSize = 12; in _FX_TXTRUN() 100 FX_FLOAT fFontSize; member 183 virtual void SetFontSize(FX_FLOAT fFontSize) = 0;
|
D | fx_rbk.h | 67 fFontSize = 12.0f; in _FX_RTFTEXTOBJ() 80 FX_FLOAT fFontSize; member 195 virtual void SetFontSize(FX_FLOAT fFontSize) = 0;
|
/external/pdfium/xfa/src/fxfa/src/app/ |
D | xfa_ffwidgetacc.cpp | 787 FX_FLOAT fFontSize = 10.0f; in CalcCaptionSize() local 789 fFontSize = font.GetFontSize(); in CalcCaptionSize() 791 fFontSize = widgetfont.GetFontSize(); in CalcCaptionSize() 794 szCap.y = fCapReserve > 0 ? fCapReserve : fFontSize; in CalcCaptionSize() 797 szCap.y = fFontSize; in CalcCaptionSize() 884 FX_FLOAT fFontSize = GetFontSize(); in CalculateTextContentSize() local 888 size.y += fFontSize; in CalculateTextContentSize() 900 pTextOut->SetFontSize(fFontSize); in CalculateTextContentSize() 901 pTextOut->SetLineBreakTolerance(fFontSize * 0.2f); in CalculateTextContentSize() 1293 FX_FLOAT fFontSize = GetFontSize(); in FindSplitPos() local [all …]
|
D | xfa_textlayout.cpp | 105 FX_FLOAT fFontSize = 10; in InitCSSData() local 108 fFontSize = font.GetFontSize(); in InitCSSData() 110 m_pSelector->SetDefFontSize(fFontSize); in InitCSSData() 138 FX_FLOAT fLineHeight = 0, fFontSize = 10; in CreateRootStyle() local 174 fFontSize = font.GetFontSize(); in CreateRootStyle() 190 pFontStyle->SetFontSize(fFontSize); in CreateRootStyle() 512 FX_FLOAT fFontSize = GetFontSize(pTextProvider, pStyle); in GetLineHeight() local 514 fLineHeight = fFontSize; in GetLineHeight() 516 fLineHeight = std::min(fLineHeight, fFontSize); in GetLineHeight() 805 FX_FLOAT fFontSize = m_textParser.GetFontSize(m_pTextProvider, NULL); in InitBreak() local [all …]
|
/external/pdfium/xfa/src/fdp/src/fde/ |
D | fde_gedevice.h | 37 FX_FLOAT fFontSize, 109 FX_FLOAT fFontSize, 115 FX_FLOAT fFontSize,
|
D | fde_gedevice.cpp | 137 FX_FLOAT fFontSize, in DrawString() argument 183 -fFontSize, (const CFX_Matrix*)pMatrix, in DrawString() 187 -fFontSize, (const CFX_Matrix*)pMatrix, in DrawString() 204 iCurCount, pCurCP, &FxFont, pCache, -fFontSize, in DrawString() 211 -fFontSize, (const CFX_Matrix*)pMatrix, in DrawString()
|
/external/pdfium/xfa/src/fee/src/fee/ |
D | fde_txtedtpage.cpp | 58 return m_pPage->GetEngine()->GetEditParams()->fFontSize; in GetFontSize() 86 tr.fFontSize = pTextParams->fFontSize; in GetDisplayPos() 119 tr.fFontSize = pTextParams->fFontSize; in GetCharRects_Impl() 549 m_rtPageContents.height -= pParams->fLineSpace - pParams->fFontSize; in LoadPage() 552 pPiece->rtPiece.height = pParams->fFontSize; in LoadPage()
|
/external/pdfium/fpdfsdk/src/ |
D | fsdk_baseform.cpp | 592 FX_FLOAT fFontSize = 0.0f; in GetFontSize() local 593 pDa.GetFont(csFont, fFontSize); in GetFontSize() 595 return fFontSize; in GetFontSize() 955 FX_FLOAT fFontSize = 12.0f; local 965 da.GetFont(csNameTag, fFontSize); 1030 pNormalIcon, iconFit, csNormalCaption, crText, fFontSize, nLayout); 1051 pRolloverIcon, iconFit, csRolloverCaption, crText, fFontSize, 1084 pDownIcon, iconFit, csDownCaption, crText, fFontSize, nLayout); 1409 FX_FLOAT fFontSize = GetFontSize(); local 1410 if (IsFloatZero(fFontSize)) [all …]
|
/external/pdfium/xfa/src/fwl/src/lightwidget/ |
D | theme.cpp | 122 FX_FLOAT fFontSize, in SetFont() argument 127 pTheme->SetFont(pWidget, strFont, fFontSize, rgbFont); in SetFont()
|
/external/pdfium/xfa/src/fdp/src/css/ |
D | fde_cssstyleselector.cpp | 238 void CFDE_CSSStyleSelector::SetDefFontSize(FX_FLOAT fFontSize) { in SetDefFontSize() argument 239 FXSYS_assert(fFontSize > 0); in SetDefFontSize() 240 m_fDefFontSize = fFontSize; in SetDefFontSize() 610 FX_FLOAT& fFontSize = FDE_CSSFONTSIZE; in ApplyProperty() local 613 fFontSize = ApplyNumber(eType, pPrimitive->GetFloat(), fFontSize); in ApplyProperty() 615 fFontSize = ToFontSize(pPrimitive->GetEnum(), fFontSize); in ApplyProperty() 1585 FX_FLOAT fFontSize) { in SetLengthWithPercent() argument 1591 FX_FLOAT fValue = ApplyNumber(eType, pPrimitive->GetFloat(), fFontSize); in SetLengthWithPercent()
|
/external/pdfium/fpdfsdk/include/pdfwindow/ |
D | PWL_Label.h | 31 void SetFontSize(FX_FLOAT fFontSize) override;
|
/external/pdfium/xfa/include/fwl/theme/ |
D | widgettp.h | 43 FX_FLOAT fFontSize, 47 FX_FLOAT fFontSize,
|