Home | History | Annotate | Download | only in font

Lines Matching full:glyphs

229             // fonts/strings where glyphs overlap.
289 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, int x, int y,
291 render(paint, glyphs, numGlyphs, x, y, FRAMEBUFFER, nullptr, 0, 0, nullptr, positions);
294 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, const SkPath* path,
296 if (numGlyphs == 0 || glyphs == nullptr) {
312 float textWidth = SkScalarToFloat(paint->measureText(glyphs, numGlyphs * 2));
322 glyph_t glyph = *(glyphs++);
342 void Font::measure(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, Rect* bounds,
349 render(paint, glyphs, numGlyphs, 0, 0, MEASURE, nullptr, 0, 0, bounds, positions);
352 void Font::precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs) {
353 if (numGlyphs == 0 || glyphs == nullptr) {
359 glyph_t glyph = *(glyphs++);
371 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, int x, int y,
374 if (numGlyphs == 0 || glyphs == nullptr) {
389 glyph_t glyph = *(glyphs++);
399 // draw garbage; also skip empty glyphs (spaces)