Searched refs:skGlyph (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/src/gpu/text/ |
D | GrAtlasManager.cpp | 141 GrDrawOpAtlas::ErrorCode GrAtlasManager::addGlyphToAtlas(const SkGlyph& skGlyph, in addGlyphToAtlas() argument 147 if (skGlyph.image() == nullptr) { in addGlyphToAtlas() 152 GrMaskFormat glyphFormat = GrGlyph::FormatFromSkGlyph(skGlyph.maskFormat()); in addGlyphToAtlas() 158 const int width = skGlyph.width() + 2*padding; in addGlyphToAtlas() 159 const int height = skGlyph.height() + 2*padding; in addGlyphToAtlas() 172 get_packed_glyph_image(skGlyph, rowBytes, expectedMaskFormat, dataPtr); in addGlyphToAtlas()
|
D | GrTextBlob.cpp | 408 const SkGlyph& skGlyph = *metricsAndImages.glyph(grGlyph->fPackedID); in regenerateAtlas() local 410 skGlyph, grGlyph, srcPadding, target->resourceProvider(), in regenerateAtlas() 549 const SkGlyph* const skGlyph = variant; in Make() local 551 skGlyph->glyphRect().offset(SkScalarRoundToInt(x), SkScalarRoundToInt(y)); in Make() 554 glyphIDs[goodPosCount].packedGlyphID = skGlyph->getPackedID(); in Make() 935 SkGlyph* skGlyph = variant; in Make() local 936 int16_t l = skGlyph->left(), in Make() 937 t = skGlyph->top(), in Make() 938 r = l + skGlyph->width(), in Make() 939 b = t + skGlyph->height(); in Make() [all …]
|
/third_party/skia/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 129 SkGlyphID skGlyph = SkTo<SkGlyphID>(hbGlyph); in skhb_glyph_h_advance() local 131 font.getWidths(&skGlyph, 1, &advance); in skhb_glyph_h_advance() 186 SkGlyphID skGlyph = SkTo<SkGlyphID>(hbGlyph); in skhb_glyph_extents() local 188 font.getWidths(&skGlyph, 1, nullptr, &sk_bounds); in skhb_glyph_extents()
|