Lines Matching refs:numGlyphs
289 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, int x, int y, in render() argument
291 render(paint, glyphs, numGlyphs, x, y, FRAMEBUFFER, nullptr, 0, 0, nullptr, positions); in render()
294 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, const SkPath* path, in render() argument
296 if (numGlyphs == 0 || glyphs == nullptr) { in render()
312 float textWidth = SkScalarToFloat(paint->measureText(glyphs, numGlyphs * 2)); in render()
321 while (glyphsCount < numGlyphs && penX < pathLength) { in render()
342 void Font::measure(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, Rect* bounds, in measure() argument
349 render(paint, glyphs, numGlyphs, 0, 0, MEASURE, nullptr, 0, 0, bounds, positions); in measure()
352 void Font::precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs) { in precache() argument
353 if (numGlyphs == 0 || glyphs == nullptr) { in precache()
358 while (glyphsCount < numGlyphs) { in precache()
371 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, int x, int y, in render() argument
374 if (numGlyphs == 0 || glyphs == nullptr) { in render()
388 while (glyphsCount < numGlyphs) { in render()