Home | History | Annotate | Download | only in screenrecord

Lines Matching refs:chi

161     size_t chi = ch - FontBitmap::firstGlyphChar;
162 if (chi >= FontBitmap::numGlyphs) {
163 chi = '?' - FontBitmap::firstGlyphChar;
165 assert(chi < FontBitmap::numGlyphs);
166 return chi;
173 size_t chi = glyphIndex(str[i]);
174 float glyphWidth = FontBitmap::glyphWidth[chi];
200 size_t chi = glyphIndex(str[i]);
201 float glyphWidth = FontBitmap::glyphWidth[chi];
211 float texLeft = mXOffset[chi] / fullTexWidth;
212 float texRight = (mXOffset[chi] + glyphWidth) / fullTexWidth;
213 float texTop = FontBitmap::yoffset[chi] / fullTexHeight;
214 float texBottom = (FontBitmap::yoffset[chi] + glyphHeight) /