Flutter Engine
txt::TestFontManager Class Reference

#include <test_font_manager.h>

Inheritance diagram for txt::TestFontManager:
txt::AssetFontManager

Public Member Functions

 TestFontManager (std::unique_ptr< FontAssetProvider > font_provider, std::vector< std::string > test_font_family_names)
 
 ~TestFontManager () override
 
- Public Member Functions inherited from txt::AssetFontManager
 AssetFontManager (std::unique_ptr< FontAssetProvider > font_provider)
 
 ~AssetFontManager () override
 

Additional Inherited Members

- Protected Member Functions inherited from txt::AssetFontManager
SkFontStyleSet * onMatchFamily (const char familyName[]) const override
 
- Protected Attributes inherited from txt::AssetFontManager
std::unique_ptr< FontAssetProviderfont_provider_
 

Detailed Description

Definition at line 33 of file test_font_manager.h.

Constructor & Destructor Documentation

◆ TestFontManager()

txt::TestFontManager::TestFontManager ( std::unique_ptr< FontAssetProvider font_provider,
std::vector< std::string >  test_font_family_names 
)

Definition at line 22 of file test_font_manager.cc.

References txt::AssetFontManager::onMatchFamily(), and ~TestFontManager().

25  : AssetFontManager(std::move(font_provider)),
26  test_font_family_names_(test_font_family_names) {}
AssetFontManager(std::unique_ptr< FontAssetProvider > font_provider)

◆ ~TestFontManager()

txt::TestFontManager::~TestFontManager ( )
overridedefault

Referenced by TestFontManager().


The documentation for this class was generated from the following files: