Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
FamilyData Struct Reference

Public Member Functions

 FamilyData (XML_Parser parser, SkTDArray< FontFamily * > &families, const SkString &basePath, bool isFallback, const char *filename, const TagHandler *topLevelHandler)
 

Public Attributes

XML_Parser fParser
 
SkTDArray< FontFamily * > & fFamilies
 
std::unique_ptr< FontFamilyfCurrentFamily
 
FontFileInfofCurrentFontInfo
 
int fVersion
 
const SkStringfBasePath
 
const bool fIsFallback
 
const char * fFilename
 
int fDepth
 
int fSkip
 
SkTDArray< const TagHandler * > fHandler
 

Detailed Description

Represents the current parsing state.

Definition at line 91 of file SkFontMgr_android_parser.cpp.

Constructor & Destructor Documentation

◆ FamilyData()

FamilyData::FamilyData ( XML_Parser  parser,
SkTDArray< FontFamily * > &  families,
const SkString basePath,
bool  isFallback,
const char *  filename,
const TagHandler topLevelHandler 
)
inline

Definition at line 92 of file SkFontMgr_android_parser.cpp.

96 , fFamilies(families)
97 , fCurrentFamily(nullptr)
98 , fCurrentFontInfo(nullptr)
99 , fVersion(0)
100 , fBasePath(basePath)
101 , fIsFallback(isFallback)
102 , fFilename(filename)
103 , fDepth(1)
104 , fSkip(0)
106 { }
static const TagHandler topLevelHandler
parser
Definition: zip.py:78
std::unique_ptr< FontFamily > fCurrentFamily
SkTDArray< const TagHandler * > fHandler
SkTDArray< FontFamily * > & fFamilies
const SkString & fBasePath
FontFileInfo * fCurrentFontInfo

Member Data Documentation

◆ fBasePath

const SkString& FamilyData::fBasePath

Definition at line 113 of file SkFontMgr_android_parser.cpp.

◆ fCurrentFamily

std::unique_ptr<FontFamily> FamilyData::fCurrentFamily

Definition at line 110 of file SkFontMgr_android_parser.cpp.

◆ fCurrentFontInfo

FontFileInfo* FamilyData::fCurrentFontInfo

Definition at line 111 of file SkFontMgr_android_parser.cpp.

◆ fDepth

int FamilyData::fDepth

Definition at line 117 of file SkFontMgr_android_parser.cpp.

◆ fFamilies

SkTDArray<FontFamily*>& FamilyData::fFamilies

Definition at line 109 of file SkFontMgr_android_parser.cpp.

◆ fFilename

const char* FamilyData::fFilename

Definition at line 115 of file SkFontMgr_android_parser.cpp.

◆ fHandler

SkTDArray<const TagHandler*> FamilyData::fHandler

Definition at line 119 of file SkFontMgr_android_parser.cpp.

◆ fIsFallback

const bool FamilyData::fIsFallback

Definition at line 114 of file SkFontMgr_android_parser.cpp.

◆ fParser

XML_Parser FamilyData::fParser

Definition at line 108 of file SkFontMgr_android_parser.cpp.

◆ fSkip

int FamilyData::fSkip

Definition at line 118 of file SkFontMgr_android_parser.cpp.

◆ fVersion

int FamilyData::fVersion

Definition at line 112 of file SkFontMgr_android_parser.cpp.


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