Lines Matching defs:pGlyphAndPos
15 FX_RECT FXGE_GetGlyphsBBox(FXTEXT_GLYPHPOS* pGlyphAndPos, int nChars, int anti_alias, FX_FLOAT retinaScaleX, FX_FLOAT retinaScaleY)
20 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar];
56 static void _AdjustGlyphSpace(FXTEXT_GLYPHPOS* pGlyphAndPos, int nChars)
60 if (pGlyphAndPos[nChars - 1].m_OriginX == pGlyphAndPos[0].m_OriginX) {
62 } else if (pGlyphAndPos[nChars - 1].m_OriginY != pGlyphAndPos[0].m_OriginY) {
66 int* next_origin = bVertical ? &pGlyphAndPos[i].m_OriginY : &pGlyphAndPos[i].m_OriginX;
67 FX_FLOAT next_origin_f = bVertical ? pGlyphAndPos[i].m_fOriginY : pGlyphAndPos[i].m_fOriginX;
69 int* this_origin = bVertical ? &pGlyphAndPos[i].m_OriginY : &pGlyphAndPos[i].m_OriginX;
70 FX_FLOAT this_origin_f = bVertical ? pGlyphAndPos[i].m_fOriginY : pGlyphAndPos[i].m_fOriginX;
227 FXTEXT_GLYPHPOS* pGlyphAndPos = FX_Alloc(FXTEXT_GLYPHPOS, nChars);
228 if (!pGlyphAndPos) {
239 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar];
261 _AdjustGlyphSpace(pGlyphAndPos, nChars);
263 FX_RECT bmp_rect1 = FXGE_GetGlyphsBBox(pGlyphAndPos, nChars, anti_alias);
274 FX_Free(pGlyphAndPos);
284 FX_Free(pGlyphAndPos);
289 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar];
298 FX_Free(pGlyphAndPos);
304 FX_Free(pGlyphAndPos);
309 FX_Free(pGlyphAndPos);
316 FX_Free(pGlyphAndPos);
338 FXTEXT_GLYPHPOS& glyph = pGlyphAndPos[iChar];
350 FX_Free(pGlyphAndPos);
941 FX_Free(pGlyphAndPos);