Lines Matching refs:charinfo

78   const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index);  in FPDFText_GetUnicode()  local
79 return charinfo.m_Unicode; in FPDFText_GetUnicode()
101 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetFontInfo() local
102 if (!charinfo.m_pTextObj) in FPDFText_GetFontInfo()
105 RetainPtr<CPDF_Font> font = charinfo.m_pTextObj->GetFont(); in FPDFText_GetFontInfo()
123 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetFontWeight() local
124 if (!charinfo.m_pTextObj) in FPDFText_GetFontWeight()
127 return charinfo.m_pTextObj->GetFont()->GetFontWeight(); in FPDFText_GetFontWeight()
136 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetTextRenderMode() local
137 if (!charinfo.m_pTextObj) in FPDFText_GetTextRenderMode()
141 charinfo.m_pTextObj->GetTextRenderMode()); in FPDFText_GetTextRenderMode()
155 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetFillColor() local
156 if (!charinfo.m_pTextObj) in FPDFText_GetFillColor()
159 FX_COLORREF fill_color = charinfo.m_pTextObj->m_ColorState.GetFillColorRef(); in FPDFText_GetFillColor()
164 charinfo.m_pTextObj->m_GeneralState.GetFillAlpha()); in FPDFText_GetFillColor()
179 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetStrokeColor() local
180 if (!charinfo.m_pTextObj) in FPDFText_GetStrokeColor()
184 charinfo.m_pTextObj->m_ColorState.GetStrokeColorRef(); in FPDFText_GetStrokeColor()
189 charinfo.m_pTextObj->m_GeneralState.GetStrokeAlpha()); in FPDFText_GetStrokeColor()
199 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetCharAngle() local
206 float angle = atan2f(charinfo.m_Matrix.c, charinfo.m_Matrix.a); in FPDFText_GetCharAngle()
226 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetCharBox() local
227 *left = charinfo.m_CharBox.left; in FPDFText_GetCharBox()
228 *right = charinfo.m_CharBox.right; in FPDFText_GetCharBox()
229 *bottom = charinfo.m_CharBox.bottom; in FPDFText_GetCharBox()
230 *top = charinfo.m_CharBox.top; in FPDFText_GetCharBox()
243 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetLooseCharBox() local
246 if (charinfo.m_pTextObj && !IsFloatZero(font_size)) { in FPDFText_GetLooseCharBox()
247 bool is_vert_writing = charinfo.m_pTextObj->GetFont()->IsVertWriting(); in FPDFText_GetLooseCharBox()
248 if (is_vert_writing && charinfo.m_pTextObj->GetFont()->IsCIDFont()) { in FPDFText_GetLooseCharBox()
249 CPDF_CIDFont* pCIDFont = charinfo.m_pTextObj->GetFont()->AsCIDFont(); in FPDFText_GetLooseCharBox()
250 uint16_t cid = pCIDFont->CIDFromCharCode(charinfo.m_CharCode); in FPDFText_GetLooseCharBox()
260 rect->left = charinfo.m_Origin.x + offsetx; in FPDFText_GetLooseCharBox()
262 rect->bottom = charinfo.m_Origin.y + offsety; in FPDFText_GetLooseCharBox()
267 int ascent = charinfo.m_pTextObj->GetFont()->GetTypeAscent(); in FPDFText_GetLooseCharBox()
268 int descent = charinfo.m_pTextObj->GetFont()->GetTypeDescent(); in FPDFText_GetLooseCharBox()
270 float width = charinfo.m_pTextObj->GetCharWidth(charinfo.m_CharCode); in FPDFText_GetLooseCharBox()
273 rect->left = charinfo.m_Origin.x; in FPDFText_GetLooseCharBox()
274 rect->right = charinfo.m_Origin.x + (is_vert_writing ? -width : width); in FPDFText_GetLooseCharBox()
275 rect->bottom = charinfo.m_Origin.y + descent * font_scale; in FPDFText_GetLooseCharBox()
276 rect->top = charinfo.m_Origin.y + ascent * font_scale; in FPDFText_GetLooseCharBox()
282 *rect = FSRectFFromCFXFloatRect(charinfo.m_CharBox); in FPDFText_GetLooseCharBox()
296 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetMatrix() local
297 *matrix = FSMatrixFromCFXMatrix(charinfo.m_Matrix); in FPDFText_GetMatrix()
310 const CPDF_TextPage::CharInfo& charinfo = textpage->GetCharInfo(index); in FPDFText_GetCharOrigin() local
311 *x = charinfo.m_Origin.x; in FPDFText_GetCharOrigin()
312 *y = charinfo.m_Origin.y; in FPDFText_GetCharOrigin()