Lines Matching refs:glyph
52 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar];
53 const CFX_GlyphBitmap* pGlyph = glyph.m_pGlyph;
57 int char_left = glyph.m_OriginX + pGlyph->m_Left;
63 int char_top = glyph.m_OriginY - pGlyph->m_Top;
281 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar];
283 glyph.m_fOriginX = charpos.m_OriginX;
284 glyph.m_fOriginY = charpos.m_OriginY;
285 text2Device.Transform(glyph.m_fOriginX, glyph.m_fOriginY);
287 glyph.m_OriginX = FXSYS_round(glyph.m_fOriginX);
289 glyph.m_OriginX = (int)FXSYS_floor(glyph.m_fOriginX);
291 glyph.m_OriginY = FXSYS_round(glyph.m_fOriginY);
297 glyph.m_pGlyph = pFaceCache->LoadGlyphBitmap(
301 glyph.m_pGlyph = pFaceCache->LoadGlyphBitmap(
337 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar];
338 if (!glyph.m_pGlyph) {
341 const CFX_DIBitmap* pGlyph = &glyph.m_pGlyph->m_Bitmap;
343 glyph.m_OriginX + glyph.m_pGlyph->m_Left - pixel_left,
344 glyph.m_OriginY - glyph.m_pGlyph->m_Top - pixel_top,
387 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar];
388 if (!glyph.m_pGlyph) {
391 const CFX_DIBitmap* pGlyph = &glyph.m_pGlyph->m_Bitmap;
392 int left = glyph.m_OriginX + glyph.m_pGlyph->m_Left - pixel_left;
393 int top = glyph.m_OriginY - glyph.m_pGlyph->m_Top - pixel_top;
407 int x_subpixel = (int)(glyph.m_fOriginX * 3) % 3;