Home
last modified time | relevance | path

Searched refs:WordInfo (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/src/fpdfdoc/
Ddoc_vt.cpp1339 FX_FLOAT CPDF_VariableText::GetWordFontSize(const CPVT_WordInfo& WordInfo, in GetWordFontSize() argument
1341 return m_bRichText && WordInfo.pWordProps in GetWordFontSize()
1342 ? (WordInfo.pWordProps->nScriptType == PVTWORD_SCRIPT_NORMAL || in GetWordFontSize()
1344 ? WordInfo.pWordProps->fFontSize in GetWordFontSize()
1345 : WordInfo.pWordProps->fFontSize * PVT_HALF) in GetWordFontSize()
1348 int32_t CPDF_VariableText::GetWordFontIndex(const CPVT_WordInfo& WordInfo) { in GetWordFontIndex() argument
1349 return m_bRichText && WordInfo.pWordProps ? WordInfo.pWordProps->nFontIndex in GetWordFontIndex()
1350 : WordInfo.nFontIndex; in GetWordFontIndex()
1366 FX_FLOAT CPDF_VariableText::GetWordWidth(const CPVT_WordInfo& WordInfo) { in GetWordWidth() argument
1368 GetWordFontIndex(WordInfo), WordInfo.Word, GetSubWord(), in GetWordWidth()
[all …]
Dpdf_vt.h468 FX_FLOAT GetWordFontSize(const CPVT_WordInfo& WordInfo,
478 FX_FLOAT GetWordWidth(const CPVT_WordInfo& WordInfo);
479 FX_FLOAT GetWordAscent(const CPVT_WordInfo& WordInfo, FX_FLOAT fFontSize);
480 FX_FLOAT GetWordDescent(const CPVT_WordInfo& WordInfo, FX_FLOAT fFontSize);
481 FX_FLOAT GetWordAscent(const CPVT_WordInfo& WordInfo,
483 FX_FLOAT GetWordDescent(const CPVT_WordInfo& WordInfo,
489 int32_t GetWordFontIndex(const CPVT_WordInfo& WordInfo);
490 FX_FLOAT GetCharSpace(const CPVT_WordInfo& WordInfo);
491 int32_t GetHorzScale(const CPVT_WordInfo& WordInfo);