Lines Matching refs:numGlyphs
61 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), reinterpret_cast<uint16_t*>(glyphs));
65 for (int i = numGlyphs - 1; i >= 0; --i) {
72 *glyphsSize = numGlyphs;
76 static void glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, HB_Fixed* advances, int flags)
84 OwnArrayPtr<uint16_t> glyphs16 = adoptArrayPtr(new uint16_t[numGlyphs]);
87 for (unsigned i = 0; i < numGlyphs; ++i)
89 paint.getTextWidths(glyphs16.get(), numGlyphs * sizeof(uint16_t), reinterpret_cast<SkScalar*>(advances));
94 for (unsigned i = 0; i < numGlyphs; ++i) {
112 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), glyphs16.get());
114 for (int i = 0; i < numGlyphs; ++i) {