Home
last modified time | relevance | path

Searched refs:pGlyph (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/xfa/src/fgas/src/font/
Dfx_gdifont.cpp17 FX_LPGDIGOCACHE pGlyph; in ~CFX_GdiFontCache() local
19 pGlyph = NULL; in ~CFX_GdiFontCache()
20 m_GlyphMap.GetNextAssoc(pos, (void*&)iGlyph, (void*&)pGlyph); in ~CFX_GdiFontCache()
21 if (pGlyph != NULL) { in ~CFX_GdiFontCache()
22 FX_Free(pGlyph->pOutline); in ~CFX_GdiFontCache()
23 FX_Free(pGlyph); in ~CFX_GdiFontCache()
32 FX_LPGDIGOCACHE pGlyph = FX_Alloc(FX_GDIGOCACHE, 1); in SetCachedGlyphOutline() local
33 pGlyph->gm = gm; in SetCachedGlyphOutline()
34 pGlyph->pOutline = pOutline; in SetCachedGlyphOutline()
35 m_GlyphMap.SetAt((void*)dwGlyph, (void*)pGlyph); in SetCachedGlyphOutline()
[all …]
/external/pdfium/core/src/fxge/ge/
Dfx_ge_text.cpp53 const CFX_GlyphBitmap* pGlyph = glyph.m_pGlyph; in FXGE_GetGlyphsBBox() local
54 if (!pGlyph) { in FXGE_GetGlyphsBBox()
57 int char_left = glyph.m_OriginX + pGlyph->m_Left; in FXGE_GetGlyphsBBox()
58 int char_width = (int)(pGlyph->m_Bitmap.GetWidth() / retinaScaleX); in FXGE_GetGlyphsBBox()
63 int char_top = glyph.m_OriginY - pGlyph->m_Top; in FXGE_GetGlyphsBBox()
65 char_top + (int)(pGlyph->m_Bitmap.GetHeight() / retinaScaleY); in FXGE_GetGlyphsBBox()
341 const CFX_DIBitmap* pGlyph = &glyph.m_pGlyph->m_Bitmap; in DrawNormalText() local
345 pGlyph->GetWidth(), pGlyph->GetHeight(), pGlyph, 0, 0); in DrawNormalText()
391 const CFX_DIBitmap* pGlyph = &glyph.m_pGlyph->m_Bitmap; in DrawNormalText() local
394 int ncols = pGlyph->GetWidth(); in DrawNormalText()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp173 CFX_GlyphBitmap* pGlyph = new CFX_GlyphBitmap; in RenderGlyph() local
174 pGlyph->m_Left = left; in RenderGlyph()
175 pGlyph->m_Top = -top; in RenderGlyph()
176 pGlyph->m_Bitmap.TakeOver(pResBitmap); in RenderGlyph()
178 return pGlyph; in RenderGlyph()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp513 CGGlyph pGlyph = 0; in FX_GetCharWidth() local
515 CTFontGetGlyphsForCharacters(font, &start, &pGlyph, count); in FX_GetCharWidth()
517 CTFontGetAdvancesForGlyphs(font, kCTFontDefaultOrientation, &pGlyph, in FX_GetCharWidth()