Searched refs:FontSkia (Results 1 – 4 of 4) sorted by relevance
46 FontSkia::FontSkia(sk_sp<SkTypeface> typeface) in FontSkia() function in txt::FontSkia49 FontSkia::~FontSkia() = default;59 float FontSkia::GetHorizontalAdvance(uint32_t glyph_id, in GetHorizontalAdvance()69 void FontSkia::GetBounds(minikin::MinikinRect* bounds, in GetBounds()83 hb_face_t* FontSkia::CreateHarfBuzzFace() const { in CreateHarfBuzzFace()87 const std::vector<minikin::FontVariation>& FontSkia::GetAxes() const { in GetAxes()91 const sk_sp<SkTypeface>& FontSkia::GetSkTypeface() const { in GetSkTypeface()
24 class FontSkia : public minikin::MinikinFont {26 explicit FontSkia(sk_sp<SkTypeface> typeface);28 ~FontSkia();47 FML_DISALLOW_COPY_AND_ASSIGN(FontSkia);
274 std::make_shared<FontSkia>(skia_typeface), in CreateMinikinFontFamily()564 std::make_shared<FontSkia>(skia_typeface), in CreateMinikinFontFamilyForOHOS()610 std::make_shared<FontSkia>(skia_typeface), in CreateMinikinFontFamilyExceptOHOS()
80 const FontSkia* font = static_cast<const FontSkia*>(layout.getFont(index)); in GetGlyphTypeface()537 static_cast<FontSkia*>(faked_font.font) in ComputeStrut()540 font.setTypeface(static_cast<FontSkia*>(faked_font.font)->GetSkTypeface()); in ComputeStrut()1280 return static_cast<FontSkia*>(faked_font.font)->GetSkTypeface(); in GetDefaultSkiaTypeface()