Flutter Engine
The Flutter Engine
Classes | Public Types | Public Member Functions | List of all members
SkFontScanner Class Referenceabstract

#include <SkFontScanner.h>

Inheritance diagram for SkFontScanner:
SkNoncopyable SkFontScanner_Fontations SkFontScanner_FreeType

Classes

struct  AxisDefinition
 

Public Types

typedef skia_private::STArray< 4, AxisDefinition, trueAxisDefinitions
 

Public Member Functions

virtual ~SkFontScanner ()=default
 
virtual bool scanFile (SkStreamAsset *stream, int *numFaces) const =0
 
virtual bool scanFace (SkStreamAsset *stream, int faceIndex, int *numInstances) const =0
 
virtual bool scanInstance (SkStreamAsset *stream, int faceIndex, int instanceIndex, SkString *name, SkFontStyle *style, bool *isFixedPitch, AxisDefinitions *axes) const =0
 
- Public Member Functions inherited from SkNoncopyable
 SkNoncopyable ()=default
 
 SkNoncopyable (SkNoncopyable &&)=default
 
SkNoncopyableoperator= (SkNoncopyable &&)=default
 

Detailed Description

Definition at line 20 of file SkFontScanner.h.

Member Typedef Documentation

◆ AxisDefinitions

Definition at line 29 of file SkFontScanner.h.

Constructor & Destructor Documentation

◆ ~SkFontScanner()

virtual SkFontScanner::~SkFontScanner ( )
virtualdefault

Member Function Documentation

◆ scanFace()

virtual bool SkFontScanner::scanFace ( SkStreamAsset stream,
int  faceIndex,
int numInstances 
) const
pure virtual

◆ scanFile()

virtual bool SkFontScanner::scanFile ( SkStreamAsset stream,
int numFaces 
) const
pure virtual

◆ scanInstance()

virtual bool SkFontScanner::scanInstance ( SkStreamAsset stream,
int  faceIndex,
int  instanceIndex,
SkString name,
SkFontStyle style,
bool *  isFixedPitch,
AxisDefinitions axes 
) const
pure virtual

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