Flutter Engine
The Flutter Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | List of all members
SkEmptyFontStyleSet Class Reference
Inheritance diagram for SkEmptyFontStyleSet:
SkFontStyleSet SkRefCnt SkRefCntBase

Public Member Functions

int count () override
 
void getStyle (int, SkFontStyle *, SkString *) override
 
sk_sp< SkTypefacecreateTypeface (int index) override
 
sk_sp< SkTypefacematchStyle (const SkFontStyle &) override
 
virtual int count ()=0
 
virtual void getStyle (int index, SkFontStyle *, SkString *style)=0
 
virtual sk_sp< SkTypefacecreateTypeface (int index)=0
 
virtual sk_sp< SkTypefacematchStyle (const SkFontStyle &pattern)=0
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Additional Inherited Members

- Static Public Member Functions inherited from SkFontStyleSet
static sk_sp< SkFontStyleSetCreateEmpty ()
 
- Protected Member Functions inherited from SkFontStyleSet
sk_sp< SkTypefacematchStyleCSS3 (const SkFontStyle &pattern)
 

Detailed Description

Definition at line 20 of file SkFontMgr.cpp.

Member Function Documentation

◆ count()

int SkEmptyFontStyleSet::count ( )
inlineoverridevirtual

Implements SkFontStyleSet.

Definition at line 22 of file SkFontMgr.cpp.

22{ return 0; }

◆ createTypeface()

sk_sp< SkTypeface > SkEmptyFontStyleSet::createTypeface ( int  index)
inlineoverridevirtual

Implements SkFontStyleSet.

Definition at line 26 of file SkFontMgr.cpp.

26 {
27 SkDEBUGFAIL("SkFontStyleSet::createTypeface called on empty set");
28 return nullptr;
29 }
#define SkDEBUGFAIL(message)
Definition: SkAssert.h:118

◆ getStyle()

void SkEmptyFontStyleSet::getStyle ( int  ,
SkFontStyle ,
SkString  
)
inlineoverridevirtual

Implements SkFontStyleSet.

Definition at line 23 of file SkFontMgr.cpp.

23 {
24 SkDEBUGFAIL("SkFontStyleSet::getStyle called on empty set");
25 }

◆ matchStyle()

sk_sp< SkTypeface > SkEmptyFontStyleSet::matchStyle ( const SkFontStyle )
inlineoverridevirtual

Implements SkFontStyleSet.

Definition at line 30 of file SkFontMgr.cpp.

30 {
31 return nullptr;
32 }

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