Lines Matching refs:face
131 findLongestWordSequence(TextFace* face, const UTF8Range<const char*>& text, in findLongestWordSequence() argument
164 auto gindex = face->getCharIndex(codePoint); in findLongestWordSequence()
169 error = face->loadGlyph(gindex); in findLongestWordSequence()
171 pen += face->kern(previous); in findLongestWordSequence()
172 if (auto gBox = face->getGlyphBBox()) { in findLongestWordSequence()
180 pen += face->advance(); in findLongestWordSequence()
213 Error drawText(TextFace* face, const UTF8Range<const char*>& text, const PixelDrawer& drawPixel, in drawText() argument
219 auto gindex = face->getCharIndex(codePoint); in drawText()
220 error = face->loadGlyph(gindex); in drawText()
221 if (error == Error::OK) error = face->renderGlyph(); in drawText()
222 if (error == Error::OK) error = face->drawGlyph(pen, drawPixel); in drawText()
225 pen += face->advance(); in drawText()