Flutter Engine
The Flutter Engine
Namespaces | Classes | Functions
SkShapers Namespace Reference

Namespaces

namespace  CT
 
namespace  HB
 
namespace  Primitive
 
namespace  unicode
 

Classes

class  Factory
 

Functions

sk_sp< FactoryBestAvailable ()
 

Function Documentation

◆ BestAvailable()

sk_sp< Factory > SkShapers::BestAvailable ( )
inline

Definition at line 104 of file FactoryHelpers.h.

104 {
105#if defined(SK_SHAPER_HARFBUZZ_AVAILABLE) && defined(SK_SHAPER_UNICODE_AVAILABLE)
106 return sk_make_sp<SkShapers::HarfbuzzFactory>();
107#elif defined(SK_SHAPER_CORETEXT_AVAILABLE)
108 return sk_make_sp<SkShapers::CoreTextFactory>();
109#else
111#endif
112}
SKSHAPER_API sk_sp< Factory > Factory()