Home
last modified time | relevance | path

Searched refs:GetFontSize (Results 1 – 25 of 32) sorted by relevance

12

/external/pdfium/core/src/fpdftext/
Dfpdf_text_search.cpp45 if (pTextObj2->GetFontSize() != pTextObj1->GetFontSize()) { in FPDFText_IsSameTextObject()
97 FX_FLOAT last_width = nLastWidth * pPrevObj->GetFontSize() / 1000; in FPDFText_ProcessInterObj()
105 FX_FLOAT this_width = nThisWidth * pObj->GetFontSize() / 1000; in FPDFText_ProcessInterObj()
118 …old *= nLastWidth > nThisWidth ? FXSYS_fabs(pPrevObj->GetFontSize()) : FXSYS_fabs(pObj->GetFontSiz… in FPDFText_ProcessInterObj()
Dfpdf_text_int.cpp317 … rect.bottom = orgY + pCurObj->GetFont()->GetTypeDescent() * pCurObj->GetFontSize() / 1000; in GetRectArray()
324 … rect.top = orgY + pCurObj->GetFont()->GetTypeAscent() * pCurObj->GetFontSize() / 1000; in GetRectArray()
325 …= orgX + GetCharWidth(info_curchar.m_CharCode, pCurObj->GetFont()) * pCurObj->GetFontSize() / 1000; in GetRectArray()
647 info.m_FontSize = charinfo.m_pTextObj->GetFontSize(); in GetCharInfo()
1384 …Width(item.m_CharCode, prev_Obj.m_pTextObj->GetFont()) * prev_Obj.m_pTextObj->GetFontSize() / 1000; in ProcessTextObject()
1391 …T this_width = GetCharWidth(item.m_CharCode, pTextObj->GetFont()) * pTextObj->GetFontSize() / 1000; in ProcessTextObject()
1775 charinfo.m_CharBox.top = rect.top * pTextObj->GetFontSize() / 1000 + item.m_OriginY; in ProcessTextObject()
1776 charinfo.m_CharBox.left = rect.left * pTextObj->GetFontSize() / 1000 + item.m_OriginX; in ProcessTextObject()
1777 charinfo.m_CharBox.right = rect.right * pTextObj->GetFontSize() / 1000 + item.m_OriginX; in ProcessTextObject()
1778 charinfo.m_CharBox.bottom = rect.bottom * pTextObj->GetFontSize() / 1000 + item.m_OriginY; in ProcessTextObject()
[all …]
Dfpdf_text.cpp84 …har_left = pPosArray ? pPosArray[cc * 2] : char_box.left * pText->m_TextState.GetFontSize() / 1000; in ProcessObject()
85 …ght = pPosArray ? pPosArray[cc * 2 + 1] : char_box.right * pText->m_TextState.GetFontSize() / 1000; in ProcessObject()
86 FX_FLOAT char_top = char_box.top * pText->m_TextState.GetFontSize() / 1000; in ProcessObject()
87 FX_FLOAT char_bottom = char_box.bottom * pText->m_TextState.GetFontSize() / 1000; in ProcessObject()
102 FX_FLOAT ratio_h = fontsize_h / pText->m_TextState.GetFontSize(); in ProcessObject()
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Label.cpp61 FX_FLOAT CPWL_Label::GetFontSize() const in GetFontSize() function in CPWL_Label
63 return m_pEdit->GetFontSize(); in GetFontSize()
DPWL_EditCtrl.cpp165 FX_FLOAT CPWL_EditCtrl::GetFontSize() const in GetFontSize() function in CPWL_EditCtrl
167 return m_pEdit->GetFontSize(); in GetFontSize()
541 FX_FLOAT fFontSize = GetFontSize(); in GetCaretFontSize()
DPWL_ListBox.cpp492 FX_FLOAT CPWL_ListBox::GetFontSize() const in GetFontSize() function in CPWL_ListBox
495 return m_pList->GetFontSize(); in GetFontSize()
DPWL_Edit.cpp1080 ptScroll.y += this->GetFontSize(); in OnMouseWheel()
1084 ptScroll.y -= this->GetFontSize(); in OnMouseWheel()
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_Label.h22 virtual FX_FLOAT GetFontSize() const;
DPWL_ListBox.h66 virtual FX_FLOAT GetFontSize() const;
DPWL_EditCtrl.h81 virtual FX_FLOAT GetFontSize() const;
DPWL_Wnd.h337 virtual FX_FLOAT GetFontSize() const;
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page.cpp134 FX_FLOAT fontsize = m_TextState.GetFontSize(); in GetItemInfo()
320 FX_FLOAT fontsize = m_TextState.GetFontSize() / 1000; in GetCharWidth()
341 FX_FLOAT fontSize = m_TextState.GetFontSize() / 4000.0f; in GetSpaceCharWidth()
360 FX_FLOAT fontsize = m_TextState.GetFontSize() / 1000; in GetCharRect()
405 FX_FLOAT fontsize = m_TextState.GetFontSize(); in CalcPositionData()
531 FX_FLOAT fontsize = m_TextState.GetFontSize(); in CalcCharPos()
Dfpdf_page_parser.cpp1278 … m_pCurStates->m_TextX -= FXSYS_Mul(fInitKerning, m_pCurStates->m_TextState.GetFontSize()) / 1000; in AddTextObject()
1280 … m_pCurStates->m_TextY -= FXSYS_Mul(fInitKerning, m_pCurStates->m_TextState.GetFontSize()) / 1000; in AddTextObject()
1318 …rStates->m_TextX -= FXSYS_Mul(pKerning[nsegs - 1], m_pCurStates->m_TextState.GetFontSize()) / 1000; in AddTextObject()
1320 …rStates->m_TextY -= FXSYS_Mul(pKerning[nsegs - 1], m_pCurStates->m_TextState.GetFontSize()) / 1000; in AddTextObject()
1347 …States->m_TextX -= FXSYS_Mul(pArray->GetNumber(i), m_pCurStates->m_TextState.GetFontSize()) / 1000; in Handle_ShowText_Positioning()
Dfpdf_page_graph_state.cpp328 FX_FLOAT size = FXSYS_Mul(unit, GetFontSize()); in GetFontSizeV()
335 FX_FLOAT size = FXSYS_Mul(unit, GetFontSize()); in GetFontSizeH()
/external/pdfium/core/include/fpdfapi/
Dfpdf_pageobj.h246 FX_FLOAT GetFontSize() const in GetFontSize() function
556 FX_FLOAT GetFontSize() const in GetFontSize() function
558 return m_TextState.GetFontSize(); in GetFontSize()
/external/pdfium/core/src/reflow/
Dlayoutprocessor_reflow.cpp971 FX_FLOAT fs = pTextObj->GetFontSize(); in CreateRFData()
1174 …last_width = GetCharWidth(item.m_CharCode, m_pPreObj->GetFont()) * m_pPreObj->GetFontSize() / 1000; in ProcessInsertObject()
1177 … FX_FLOAT this_width = GetCharWidth(item.m_CharCode, pObj->GetFont()) * pObj->GetFontSize() / 1000; in ProcessInsertObject()
1214 …FX_FLOAT last_width = pPreObj->GetFont()->GetCharWidthF(item.m_CharCode) * pPreObj->GetFontSize() … in LogicPreObj()
1217 …FX_FLOAT this_width = pObj->GetFont()->GetCharWidthF(item.m_CharCode) * pObj->GetFontSize() / 1000; in LogicPreObj()
1313 if (pTextObj2->GetFontSize() != pTextObj1->GetFontSize()) { in IsSameTextObject()
/external/pdfium/core/src/fpdfdoc/
Ddoc_vt.cpp329 FX_FLOAT fLineAscent = m_pVT->GetFontAscent(m_pVT->GetDefaultFontIndex(), m_pVT->GetFontSize()); in CharArray()
330 … FX_FLOAT fLineDescent = m_pVT->GetFontDescent(m_pVT->GetDefaultFontIndex(), m_pVT->GetFontSize()); in CharArray()
843 lineinfo.fLineAscent = GetFontAscent(GetDefaultFontIndex(), GetFontSize()); in Initialize()
844 lineinfo.fLineDescent = GetFontDescent(GetDefaultFontIndex(), GetFontSize()); in Initialize()
1356 …Size ? WordInfo.pWordProps->fFontSize : WordInfo.pWordProps->fFontSize * PVT_HALF) : GetFontSize(); in GetWordFontSize()
1377 GetFontAscent(GetDefaultFontIndex(), GetFontSize()); in GetLineAscent()
1382 GetFontDescent(GetDefaultFontIndex(), GetFontSize()); in GetLineDescent()
Dpdf_vt.h489 FX_FLOAT GetFontSize() const in GetFontSize() function
/external/pdfium/fpdfsdk/include/fxedit/
Dfx_edit.h373 virtual FX_FLOAT GetFontSize() const = 0;
451 virtual FX_FLOAT GetFontSize() const = 0;
Dfxet_list.h229 virtual FX_FLOAT GetFontSize() const;
/external/pdfium/fpdfsdk/include/
Dfsdk_baseform.h84 FX_FLOAT GetFontSize() const;
/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_pageobjs.cpp140 FX_FLOAT fFontSize = pEdit->GetFontSize(); in DrawEdit()
453 FX_FLOAT fFontSize = pEdit->GetFontSize(); in GeneratePageObjects()
/external/pdfium/core/include/fpdfdoc/
Dfpdf_vt.h402 virtual FX_FLOAT GetFontSize() const = 0;
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp254 FX_FLOAT font_size = textobj->m_TextState.GetFontSize(); in ProcessText()
373 FX_FLOAT font_size = textobj->m_TextState.GetFontSize(); in ProcessType3Text()
/external/pdfium/fpdfsdk/src/
Dfsdk_baseform.cpp205 FX_FLOAT CPDFSDK_Widget::GetFontSize() const in GetFontSize() function in CPDFSDK_Widget
1063 FX_FLOAT fFontSize = this->GetFontSize(); in ResetAppearance_ComboBox()
1137 FX_FLOAT fFontSize = GetFontSize(); in ResetAppearance_ListBox()
1253 FX_FLOAT fFontSize = GetFontSize(); in ResetAppearance_TextField()

12