Flutter Engine
txt::DynamicFontManager Class Reference

#include <asset_font_manager.h>

Inheritance diagram for txt::DynamicFontManager:
txt::AssetFontManager

Public Member Functions

 DynamicFontManager ()
 
TypefaceFontAssetProviderfont_provider ()
 
- 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 89 of file asset_font_manager.h.

Constructor & Destructor Documentation

◆ DynamicFontManager()

txt::DynamicFontManager::DynamicFontManager ( )
inline

Definition at line 91 of file asset_font_manager.h.

92  : AssetFontManager(std::make_unique<TypefaceFontAssetProvider>()) {}
AssetFontManager(std::unique_ptr< FontAssetProvider > font_provider)

Member Function Documentation

◆ font_provider()

TypefaceFontAssetProvider& txt::DynamicFontManager::font_provider ( )
inline

Definition at line 94 of file asset_font_manager.h.

94  {
95  return static_cast<TypefaceFontAssetProvider&>(*font_provider_);
96  }

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