Home
last modified time | relevance | path

Searched refs:m_TextState (Results 1 – 10 of 10) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page.cpp114 CPDF_Font* pFont = m_TextState.GetFont(); in GetItemInfo()
126 FX_FLOAT fontsize = m_TextState.GetFontSize(); in GetItemInfo()
213 FX_FLOAT* pTextMatrix = m_TextState.GetMatrix(); in GetTextMatrix()
227 CPDF_Font* pFont = m_TextState.GetFont(); in SetSegments()
316 FX_FLOAT fontsize = m_TextState.GetFontSize() / 1000; in GetCharWidth()
317 CPDF_Font* pFont = m_TextState.GetFont(); in GetCharWidth()
331 CPDF_Font* pFont = m_TextState.GetFont(); in GetSpaceCharWidth()
332 FX_DWORD charCode = m_TextState.GetFont()->CharCodeFromUnicode(32); in GetSpaceCharWidth()
336 FX_FLOAT fontSize = m_TextState.GetFontSize() / 4000.0f; in GetSpaceCharWidth()
350 CPDF_Font* pFont = m_TextState.GetFont(); in GetCharRect()
[all …]
Dfpdf_page_parser.cpp128 m_pCurStates->m_TextState.New(); in CPDF_StreamContentParser()
293 pObj->m_TextState = m_pCurStates->m_TextState; in SetGraphicStates()
713 status.m_TextState = m_pCurStates->m_TextState; in AddForm()
769 if (m_pCurStates->m_TextState.GetObject()->m_TextMode < 4) { in Handle_EndText()
1100 m_pCurStates->m_TextState.GetModify()->m_CharSpace = GetNumber(0); in Handle_SetCharSpace()
1117 m_pCurStates->m_TextState.GetModify()->m_FontSize = fs; in Handle_SetFont()
1120 m_pCurStates->m_TextState.SetFont(pFont); in Handle_SetFont()
1216 CPDF_Font* pFont = m_pCurStates->m_TextState.GetFont(); in AddTextObject()
1223 FXSYS_Mul(fInitKerning, m_pCurStates->m_TextState.GetFontSize()) / in AddTextObject()
1227 FXSYS_Mul(fInitKerning, m_pCurStates->m_TextState.GetFontSize()) / in AddTextObject()
[all …]
Dfpdf_page_graph_state.cpp22 m_TextState = src.m_TextState; in CopyStates()
504 m_TextState.GetModify()->m_FontSize = pFont->GetNumber(1); in ProcessExtGS()
505 m_TextState.SetFont(pParser->FindFont(pFont->GetString(0))); in ProcessExtGS()
/external/pdfium/core/src/fpdftext/
Dfpdf_text.cpp55 CPDF_Font* pFont = pText->m_TextState.GetFont(); in ProcessObject()
60 FX_FLOAT fontsize_h = pText->m_TextState.GetFontSizeH(); in ProcessObject()
61 FX_FLOAT fontsize_v = pText->m_TextState.GetFontSizeV(); in ProcessObject()
70 if (pText->m_TextState.GetBaselineAngle() != 0) { in ProcessObject()
85 : char_box.left * pText->m_TextState.GetFontSize() / 1000; in ProcessObject()
88 : char_box.right * pText->m_TextState.GetFontSize() / 1000; in ProcessObject()
90 char_box.top * pText->m_TextState.GetFontSize() / 1000; in ProcessObject()
92 char_box.bottom * pText->m_TextState.GetFontSize() / 1000; in ProcessObject()
105 FX_FLOAT ratio_h = fontsize_h / pText->m_TextState.GetFontSize(); in ProcessObject()
690 FX_FLOAT angle = pText->m_TextState.GetBaselineAngle(); in CheckRotate()
Dfpdf_text_search.cpp225 FX_FLOAT fontsize_h = pObj->m_TextState.GetFontSizeH(); in ProcessObject()
229 FX_FLOAT charSpace = pObj->m_TextState.GetObject()->m_CharSpace; in ProcessObject()
235 FX_FLOAT fontsize_h = pObj->m_TextState.GetFontSizeH(); in ProcessObject()
Dfpdf_text_int.cpp58 if (pTextObj->m_TextState.GetObject()->m_CharSpace && nItems >= 3) { in _CalculateBaseSpace()
61 pTextObj->m_TextState.GetObject()->m_CharSpace); in _CalculateBaseSpace()
67 FX_FLOAT fontsize_h = pTextObj->m_TextState.GetFontSizeH(); in _CalculateBaseSpace()
1612 FX_FLOAT fontsize_h = pTextObj->m_TextState.GetFontSizeH(); in ProcessTextObject()
1616 FX_FLOAT charSpace = pTextObj->m_TextState.GetObject()->m_CharSpace; in ProcessTextObject()
1625 FX_FLOAT fontsize_h = pTextObj->m_TextState.GetFontSizeH(); in ProcessTextObject()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp196 int text_render_mode = textobj->m_TextState.GetObject()->m_TextMode; in ProcessText()
200 CPDF_Font* pFont = textobj->m_TextState.GetFont(); in ProcessText()
259 FX_FLOAT font_size = textobj->m_TextState.GetFontSize(); in ProcessText()
269 const FX_FLOAT* pCTM = textobj->m_TextState.GetObject()->m_CTM; in ProcessText()
353 CPDF_Type3Font* pType3Font = textobj->m_TextState.GetFont()->GetType3Font(); in ProcessType3Text()
364 FX_FLOAT font_size = textobj->m_TextState.GetFontSize(); in ProcessType3Text()
Dfpdf_render.cpp848 textobj->m_pCharPos, textobj->m_TextState.GetFont(), in ProcessTransparency()
849 textobj->m_TextState.GetFontSize(), &text_matrix, &new_matrix, in ProcessTransparency()
/external/pdfium/core/include/fpdfapi/
Dfpdf_pageobj.h349 CPDF_TextState m_TextState; variable
430 CPDF_Font* GetFont() const { return m_TextState.GetFont(); } in GetFont()
432 FX_FLOAT GetFontSize() const { return m_TextState.GetFontSize(); } in GetFontSize()
/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_pageobjs.cpp442 CPDF_TextStateData* pTextStateData = pTxtObj->m_TextState.GetModify(); in AddTextObjToPageObjects()