Flutter Engine
The Flutter Engine
|
#include <SkFontMgr_custom.h>
Public Member Functions | |
SkFontStyleSet_Custom (SkString familyName) | |
void | appendTypeface (sk_sp< SkTypeface > typeface) |
int | count () override |
void | getStyle (int index, SkFontStyle *style, SkString *name) override |
sk_sp< SkTypeface > | createTypeface (int index) override |
sk_sp< SkTypeface > | matchStyle (const SkFontStyle &pattern) override |
SkString | getFamilyName () |
virtual int | count ()=0 |
virtual void | getStyle (int index, SkFontStyle *, SkString *style)=0 |
virtual sk_sp< SkTypeface > | createTypeface (int index)=0 |
virtual sk_sp< SkTypeface > | matchStyle (const SkFontStyle &pattern)=0 |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Friends | |
class | SkFontMgr_Custom |
Additional Inherited Members | |
Static Public Member Functions inherited from SkFontStyleSet | |
static sk_sp< SkFontStyleSet > | CreateEmpty () |
Protected Member Functions inherited from SkFontStyleSet | |
sk_sp< SkTypeface > | matchStyleCSS3 (const SkFontStyle &pattern) |
This class is used by SkFontMgr_Custom to hold SkTypeface_Custom families.
Definition at line 84 of file SkFontMgr_custom.h.
|
explicit |
Definition at line 96 of file SkFontMgr_custom.cpp.
void SkFontStyleSet_Custom::appendTypeface | ( | sk_sp< SkTypeface > | typeface | ) |
Should only be called during the initial build phase.
Definition at line 99 of file SkFontMgr_custom.cpp.
|
overridevirtual |
|
overridevirtual |
Implements SkFontStyleSet.
Definition at line 117 of file SkFontMgr_custom.cpp.
SkString SkFontStyleSet_Custom::getFamilyName | ( | ) |
Definition at line 126 of file SkFontMgr_custom.cpp.
|
overridevirtual |
Implements SkFontStyleSet.
Definition at line 107 of file SkFontMgr_custom.cpp.
|
overridevirtual |
Implements SkFontStyleSet.
Definition at line 122 of file SkFontMgr_custom.cpp.
|
friend |
Definition at line 100 of file SkFontMgr_custom.h.